Enable to type t.context
by extending module interface
#1530
Annotations
6 errors
|
Run ./node_modules/typescript/bin/tsc --noEmit:
test-types/import-in-cts/context.cts#L9
Conversion of type 'TestFn' to type 'TestFn<Context>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run ./node_modules/typescript/bin/tsc --noEmit:
test-types/import-in-cts/context.cts#L31
Conversion of type 'TestFn' to type 'TestFn<Covariant>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run ./node_modules/typescript/bin/tsc --noEmit:
test-types/module/context.ts#L11
Conversion of type 'TestFn' to type 'TestFn<Context>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run ./node_modules/typescript/bin/tsc --noEmit:
test-types/module/context.ts#L33
Conversion of type 'TestFn' to type 'TestFn<Covariant>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run ./node_modules/typescript/bin/tsc --noEmit
Process completed with exit code 2.
|
Loading