fix: unbreak PointerInfo type guard
This commit is contained in:
parent
78e98267af
commit
1113d58651
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export interface Pointer {
|
|||
}
|
||||
|
||||
function isValidPointerInfo(val: Record<string, any>): val is PointerInfo {
|
||||
return val.oid.trim !== undefined && val.oid.size !== undefined;
|
||||
return val.oid.trim !== undefined && val.size.trim !== undefined;
|
||||
}
|
||||
|
||||
interface PointerRequest {
|
||||
|
|
Loading…
Reference in a new issue