Skip to content

Enable to type t.context by extending module interface #1530

Enable to type t.context by extending module interface

Enable to type t.context by extending module interface #1530

Triggered via pull request December 24, 2024 08:05
Status Failure
Total duration 8m 5s
Artifacts

ci.yml

on: pull_request
Test package-lock for unexpected modifications
25s
Test package-lock for unexpected modifications
Install dependencies without using a lockfile
5m 29s
Install dependencies without using a lockfile
Lint source files
27s
Lint source files
Matrix: Node.js
Matrix: TypeScript compatibility
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 8 warnings
TypeScript compatibility (~5.6): 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.
TypeScript compatibility (~5.6): 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.
TypeScript compatibility (~5.6): 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.
TypeScript compatibility (~5.6): 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.
TypeScript compatibility (~5.6)
Process completed with exit code 2.
TypeScript compatibility (~5.5)
The job was canceled because "_5_6" failed.
TypeScript compatibility (~5.5): 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.
TypeScript compatibility (~5.5): 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.
TypeScript compatibility (~5.5): 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.
TypeScript compatibility (~5.5): 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.
TypeScript compatibility (~5.5)
Process completed with exit code 2.
TypeScript compatibility (~5.4)
The job was canceled because "_5_6" failed.
TypeScript compatibility (~5.4): 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.
TypeScript compatibility (~5.4): 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.
TypeScript compatibility (~5.4): 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.
TypeScript compatibility (~5.4): 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.
TypeScript compatibility (~5.4)
Process completed with exit code 2.
TypeScript compatibility (~5.2)
The job was canceled because "_5_6" failed.
TypeScript compatibility (~5.2): 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.
TypeScript compatibility (~5.2): 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.
TypeScript compatibility (~5.2): 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.
TypeScript compatibility (~5.2): 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.
TypeScript compatibility (~5.2)
Process completed with exit code 2.
Lint source files: types/test-fn.d.cts#L75
Use a `type` instead of an `interface`.
Lint source files: types/test-fn.d.cts#L75
An empty interface is equivalent to `{}`.
Lint source files
Process completed with exit code 1.
TypeScript compatibility (~5.3)
The job was canceled because "_5_6" failed.
TypeScript compatibility (~5.3): 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.
TypeScript compatibility (~5.3): 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.
TypeScript compatibility (~5.3): 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.
TypeScript compatibility (~5.3): 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.
TypeScript compatibility (~5.3)
Process completed with exit code 2.
Test package-lock for unexpected modifications
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
TypeScript compatibility (~5.6)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint source files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js (^18.18, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Install dependencies without using a lockfile
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js (^20.8, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js (^23, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Node.js (^22, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636