Skip to content

Narrow generic conditional and indexed access return types when checking return statements #31915

Narrow generic conditional and indexed access return types when checking return statements

Narrow generic conditional and indexed access return types when checking return statements #31915

Triggered via pull request September 13, 2024 01:51
Status Failure
Total duration 19m 34s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

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