mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Accept new baselines
This commit is contained in:
1 parent
21f61c0002
commit
785d2b7914
1 file changed
+2
-2
@@ -38,7 +38,7 @@ tests/cases/conformance/types/tuple/variadicTuples1.ts(191,5): error TS2322: Typ
|
||||
Type 'readonly string[]' is not assignable to type 'U'.
|
||||
'U' could be instantiated with an arbitrary type which could be unrelated to 'readonly string[]'.
|
||||
tests/cases/conformance/types/tuple/variadicTuples1.ts(203,5): error TS2322: Type 'string' is not assignable to type 'keyof [1, 2, ...T]'.
|
||||
Type '"2"' is not assignable to type '"0" | (number | keyof T[]) | "1"'.
|
||||
Type '"2"' is not assignable to type 'number | "0" | keyof T[] | "1"'.
|
||||
tests/cases/conformance/types/tuple/variadicTuples1.ts(346,14): error TS7019: Rest parameter 'x' implicitly has an 'any[]' type.
|
||||
tests/cases/conformance/types/tuple/variadicTuples1.ts(354,26): error TS2322: Type 'string' is not assignable to type 'number | undefined'.
|
||||
tests/cases/conformance/types/tuple/variadicTuples1.ts(393,19): error TS1256: A rest element must be last in a tuple type.
|
||||
@@ -309,7 +309,7 @@ tests/cases/conformance/types/tuple/variadicTuples1.ts(397,12): error TS1256: A
|
||||
k3 = '2'; // Error
|
||||
~~
|
||||
!!! error TS2322: Type 'string' is not assignable to type 'keyof [1, 2, ...T]'.
|
||||
!!! error TS2322: Type '"2"' is not assignable to type '"0" | (number | keyof T[]) | "1"'.
|
||||
!!! error TS2322: Type '"2"' is not assignable to type 'number | "0" | keyof T[] | "1"'.
|
||||
}
|
||||
|
||||
// Inference between variadic tuple types
|
||||
|
||||
Reference in new issue
Block a user