Narrow generic conditional and indexed access return types when checking return statements #31915
ci.yml
on: pull_request
coverage
9m 32s
lint
1m 0s
knip
28s
format
31s
browser-integration
1m 39s
typecheck
43s
smoke
57s
package-size
1m 36s
misc
24s
self-check
58s
baselines
13m 15s
Matrix: test
Annotations
168 errors
format
Process completed with exit code 20.
|
Test Node 18 on macos-14
Process completed with exit code 1.
|
Test Node 18 on macos-14
Type 'string' is not assignable to type 'never'.
|
Test Node 18 on macos-14
Type '""' is not assignable to type 'never'.
|
Test Node 18 on macos-14
Type 'R' is not assignable to typ
|
Test Node 18 on macos-14
Type 'number' is not assignable to type 'never'.
|
Test Node 18 on macos-14
Type '1' is not assignable to type 'never'.
|
Test Node 18 on macos-14
Type 'number' is not assignable to
|
Test Node 18 on macos-14
Type 'number' is not assignable to
|
Test Node 18 on macos-14
Type 'number' is not assignable to
|
Test Node 18 on macos-14
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 18 on macos-14
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 22 on macos-14
Process completed with exit code 1.
|
Test Node 22 on macos-14
Type 'string' is not assignable to type 'never'.
|
Test Node 22 on macos-14
Type '""' is not assignable to type 'never'.
|
Test Node 22 on macos-14
Type 'R' is not assignable to typ
|
Test Node 22 on macos-14
Type 'number' is not assignable to type 'never'.
|
Test Node 22 on macos-14
Type '1' is not assignable to type 'never'.
|
Test Node 22 on macos-14
Type 'number' is not assignable to
|
Test Node 22 on macos-14
Type 'number' is not assignable to
|
Test Node 22 on macos-14
Type 'number' is not assignable to
|
Test Node 22 on macos-14
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 22 on macos-14
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 22 on ubuntu-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 22 on ubuntu-latest
Type '""' is not assignable to type 'never'.
|
Test Node 22 on ubuntu-latest
Type 'R' is not assignable to typ
|
Test Node 22 on ubuntu-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 22 on ubuntu-latest
Type '1' is not assignable to type 'never'.
|
Test Node 22 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 22 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 22 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 22 on ubuntu-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 22 on ubuntu-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 22 on ubuntu-latest
Process completed with exit code 1.
|
Test Node 16 on macos-14
Type 'string' is not assignable to type 'never'.
|
Test Node 16 on macos-14
Type '""' is not assignable to type 'never'.
|
Test Node 16 on macos-14
Type 'R' is not assignable to typ
|
Test Node 16 on macos-14
Type 'number' is not assignable to type 'never'.
|
Test Node 16 on macos-14
Type '1' is not assignable to type 'never'.
|
Test Node 16 on macos-14
Type 'number' is not assignable to
|
Test Node 16 on macos-14
Type 'number' is not assignable to
|
Test Node 16 on macos-14
Type 'number' is not assignable to
|
Test Node 16 on macos-14
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 16 on macos-14
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 16 on macos-14
Process completed with exit code 1.
|
Test Node 20 on ubuntu-latest
Process completed with exit code 1.
|
Test Node 20 on ubuntu-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 20 on ubuntu-latest
Type '""' is not assignable to type 'never'.
|
Test Node 20 on ubuntu-latest
Type 'R' is not assignable to typ
|
Test Node 20 on ubuntu-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 20 on ubuntu-latest
Type '1' is not assignable to type 'never'.
|
Test Node 20 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 20 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 20 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 20 on ubuntu-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 20 on ubuntu-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
baselines
Process completed with exit code 1.
|
Test Node 22 on windows-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 22 on windows-latest
Type '""' is not assignable to type 'never'.
|
Test Node 22 on windows-latest
Type 'R' is not assignable to typ
|
Test Node 22 on windows-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 22 on windows-latest
Type '1' is not assignable to type 'never'.
|
Test Node 22 on windows-latest
Type 'number' is not assignable to
|
Test Node 22 on windows-latest
Type 'number' is not assignable to
|
Test Node 22 on windows-latest
Type 'number' is not assignable to
|
Test Node 22 on windows-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 22 on windows-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 22 on windows-latest
Process completed with exit code 1.
|
coverage
Process completed with exit code 1.
|
Test Node 18 on ubuntu-latest
Process completed with exit code 1.
|
Test Node 18 on ubuntu-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 18 on ubuntu-latest
Type '""' is not assignable to type 'never'.
|
Test Node 18 on ubuntu-latest
Type 'R' is not assignable to typ
|
Test Node 18 on ubuntu-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 18 on ubuntu-latest
Type '1' is not assignable to type 'never'.
|
Test Node 18 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 18 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 18 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 18 on ubuntu-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 18 on ubuntu-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 16 on ubuntu-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 16 on ubuntu-latest
Type '""' is not assignable to type 'never'.
|
Test Node 16 on ubuntu-latest
Type 'R' is not assignable to typ
|
Test Node 16 on ubuntu-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 16 on ubuntu-latest
Type '1' is not assignable to type 'never'.
|
Test Node 16 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 16 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 16 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 16 on ubuntu-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 16 on ubuntu-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 16 on ubuntu-latest
Process completed with exit code 1.
|
Test Node 14 on ubuntu-latest
Process completed with exit code 1.
|
Test Node 14 on ubuntu-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 14 on ubuntu-latest
Type '""' is not assignable to type 'never'.
|
Test Node 14 on ubuntu-latest
Type 'R' is not assignable to typ
|
Test Node 14 on ubuntu-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 14 on ubuntu-latest
Type '1' is not assignable to type 'never'.
|
Test Node 14 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 14 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 14 on ubuntu-latest
Type 'number' is not assignable to
|
Test Node 14 on ubuntu-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 14 on ubuntu-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 20 on macos-14
Process completed with exit code 1.
|
Test Node 20 on macos-14
Type 'string' is not assignable to type 'never'.
|
Test Node 20 on macos-14
Type '""' is not assignable to type 'never'.
|
Test Node 20 on macos-14
Type 'R' is not assignable to typ
|
Test Node 20 on macos-14
Type 'number' is not assignable to type 'never'.
|
Test Node 20 on macos-14
Type '1' is not assignable to type 'never'.
|
Test Node 20 on macos-14
Type 'number' is not assignable to
|
Test Node 20 on macos-14
Type 'number' is not assignable to
|
Test Node 20 on macos-14
Type 'number' is not assignable to
|
Test Node 20 on macos-14
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 20 on macos-14
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 20 on windows-latest
Process completed with exit code 1.
|
Test Node 20 on windows-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 20 on windows-latest
Type '""' is not assignable to type 'never'.
|
Test Node 20 on windows-latest
Type 'R' is not assignable to typ
|
Test Node 20 on windows-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 20 on windows-latest
Type '1' is not assignable to type 'never'.
|
Test Node 20 on windows-latest
Type 'number' is not assignable to
|
Test Node 20 on windows-latest
Type 'number' is not assignable to
|
Test Node 20 on windows-latest
Type 'number' is not assignable to
|
Test Node 20 on windows-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 20 on windows-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 14 on windows-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 14 on windows-latest
Type '""' is not assignable to type 'never'.
|
Test Node 14 on windows-latest
Type 'R' is not assignable to typ
|
Test Node 14 on windows-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 14 on windows-latest
Type '1' is not assignable to type 'never'.
|
Test Node 14 on windows-latest
Type 'number' is not assignable to
|
Test Node 14 on windows-latest
Type 'number' is not assignable to
|
Test Node 14 on windows-latest
Type 'number' is not assignable to
|
Test Node 14 on windows-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 14 on windows-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 14 on windows-latest
Process completed with exit code 1.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'string' is not assignable to type 'never'.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type '""' is not assignable to type 'never'.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'R' is not assignable to typ
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'number' is not assignable to type 'never'.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type '1' is not assignable to type 'never'.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'number' is not assignable to
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'number' is not assignable to
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type 'number' is not assignable to
|
Test Node lts/* on ubuntu-latest with --no-bundle
Type '2' is not assignable to type 'SomeInterface<
|
Test Node lts/* on ubuntu-latest with --no-bundle
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node lts/* on ubuntu-latest with --no-bundle
Process completed with exit code 1.
|
Test Node 16 on windows-latest
Process completed with exit code 1.
|
Test Node 16 on windows-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 16 on windows-latest
Type '""' is not assignable to type 'never'.
|
Test Node 16 on windows-latest
Type 'R' is not assignable to typ
|
Test Node 16 on windows-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 16 on windows-latest
Type '1' is not assignable to type 'never'.
|
Test Node 16 on windows-latest
Type 'number' is not assignable to
|
Test Node 16 on windows-latest
Type 'number' is not assignable to
|
Test Node 16 on windows-latest
Type 'number' is not assignable to
|
Test Node 16 on windows-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 16 on windows-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Test Node 18 on windows-latest
Process completed with exit code 1.
|
Test Node 18 on windows-latest
Type 'string' is not assignable to type 'never'.
|
Test Node 18 on windows-latest
Type '""' is not assignable to type 'never'.
|
Test Node 18 on windows-latest
Type 'R' is not assignable to typ
|
Test Node 18 on windows-latest
Type 'number' is not assignable to type 'never'.
|
Test Node 18 on windows-latest
Type '1' is not assignable to type 'never'.
|
Test Node 18 on windows-latest
Type 'number' is not assignable to
|
Test Node 18 on windows-latest
Type 'number' is not assignable to
|
Test Node 18 on windows-latest
Type 'number' is not assignable to
|
Test Node 18 on windows-latest
Type '2' is not assignable to type 'SomeInterface<
|
Test Node 18 on windows-latest
Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
fix_baselines.patch
|
1.29 KB |
|