Enable to type t.context
by extending module interface
#1530
Annotations
5 errors and 1 warning
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.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading