Split
: Fix return type when passing in non-literal and distribute unions of parameter Delimiter
#2441
Annotations
3 errors and 1 warning
Run npx tsc:
test-d/get.ts#L150
Type 'string | undefined' does not satisfy the constraint '"Expected: string, Actual: never" | "Expected: undefined, Actual: never"'.
|
Run npx tsc:
test-d/split.ts#L64
Type instantiation is excessively deep and possibly infinite.
|
Run npx tsc
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