You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(15,5): error TS2461: Type '{ 0: string; 1: number; }' is not an array type.
4
4
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(15,12): error TS2460: Type '{ 0: string; 1: number; }' has no property '2'.
5
5
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(16,5): error TS2322: Type '[string, number]' is not assignable to type '[number, number, number]'.
6
-
Types of property '0' are incompatible.
7
-
Type 'string' is not assignable to type 'number'.
6
+
Property '2' is missing in type '[string, number]'.
8
7
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(17,5): error TS2322: Type 'StrNum' is not assignable to type '[number, number, number]'.
9
-
Types of property '0' are incompatible.
10
-
Type 'string' is not assignable to type 'number'.
8
+
Property '2' is missing in type 'StrNum'.
11
9
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(18,5): error TS2322: Type '{ 0: string; 1: number; }' is not assignable to type '[number, number, number]'.
12
-
Types of property '0' are incompatible.
13
-
Type 'string' is not assignable to type 'number'.
10
+
Property '2' is missing in type '{ 0: string; 1: number; }'.
14
11
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(19,5): error TS2322: Type '[string, number]' is not assignable to type '[string, number, number]'.
15
12
Property '2' is missing in type '[string, number]'.
16
13
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(20,5): error TS2322: Type 'StrNum' is not assignable to type '[string, number, number]'.
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(24,5): error TS2322: Type '{ 0: string; 1: number; }' is not assignable to type '[number]'.
27
-
Types of property '0' are incompatible.
28
-
Type 'string' is not assignable to type 'number'.
24
+
Property 'length' is missing in type '{ 0: string; 1: number; }'.
29
25
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(25,5): error TS2322: Type '[string, number]' is not assignable to type '[string]'.
30
26
Types of property 'pop' are incompatible.
31
27
Type '() => string | number' is not assignable to type '() => string'.
tests/cases/conformance/types/tuple/arityAndOrderCompatibility01.ts(30,5): error TS2322: Type '{ 0: string; 1: number; }' is not assignable to type '[number, string]'.
47
-
Types of property '0' are incompatible.
48
-
Type 'string' is not assignable to type 'number'.
43
+
Property 'length' is missing in type '{ 0: string; 1: number; }'.
0 commit comments