diff --git a/packages/dataverse/src/pointer.ts b/packages/dataverse/src/pointer.ts index 9532923..39baeae 100644 --- a/packages/dataverse/src/pointer.ts +++ b/packages/dataverse/src/pointer.ts @@ -41,7 +41,7 @@ export type PointerType = { * ```ts * declare function expectAnyPointer(pointer: Pointer): void * - * expectAnyPointer(null as Pointer<{}>) // doesn't work + * expectAnyPointer(null as Pointer<{}>) // this shows as a type error because Pointer<{}> is not assignable to Pointer, even though it should * ``` * * The current solution is to just avoid using `any` with pointer-related code (or type-test it well).