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
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocInTypeScript.errors.txt
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
tests/cases/compiler/jsdocInTypeScript.ts(16,23): error TS2304: Cannot find name 'MyType'.
2
2
tests/cases/compiler/jsdocInTypeScript.ts(23,33): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
3
-
tests/cases/compiler/jsdocInTypeScript.ts(25,3): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
3
+
tests/cases/compiler/jsdocInTypeScript.ts(25,3): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
4
4
tests/cases/compiler/jsdocInTypeScript.ts(25,15): error TS2339: Property 'length' does not exist on type 'number'.
5
5
tests/cases/compiler/jsdocInTypeScript.ts(30,3): error TS2339: Property 'x' does not exist on type '{}'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/parser15.4.4.14-9-2.errors.txt
+8-8
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(16,42): error TS2345: Argument of type '"0"' is not assignable to parameter of type 'boolean'.
1
+
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(16,42): error TS2345: Argument of type 'string' is not assignable to parameter of type 'boolean'.
2
2
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(17,17): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
3
-
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(18,17): error TS2345: Argument of type '0' is not assignable to parameter of type 'boolean'.
4
-
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(19,17): error TS2345: Argument of type '0' is not assignable to parameter of type 'boolean'.
5
-
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(20,17): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
3
+
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(18,17): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
4
+
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(19,17): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
5
+
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(20,17): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
6
6
tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(25,1): error TS2304: Cannot find name 'runTestCase'.
7
7
8
8
@@ -24,19 +24,19 @@ tests/cases/conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts(25,1): error T
24
24
var _float = -(4/3);
25
25
var a = new Array(false,undefined,null,"0",obj,-1.3333333333333, "str",-0,true,+0, one, 1,0, false, _float, -(4/3));
26
26
~~~
27
-
!!! error TS2345: Argument of type '"0"' is not assignable to parameter of type 'boolean'.
27
+
!!! error TS2345: Argument of type 'string' is not assignable to parameter of type 'boolean'.
28
28
if (a.indexOf(-(4/3)) === 14 && // a[14]=_float===-(4/3)
29
29
~~~~~~
30
30
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
31
31
a.indexOf(0) === 7 && // a[7] = +0, 0===+0
32
32
~
33
-
!!! error TS2345: Argument of type '0' is not assignable to parameter of type 'boolean'.
33
+
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
34
34
a.indexOf(-0) === 7 && // a[7] = +0, -0===+0
35
35
~~
36
-
!!! error TS2345: Argument of type '0' is not assignable to parameter of type 'boolean'.
36
+
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
37
37
a.indexOf(1) === 10 ) // a[10] =one=== 1
38
38
~
39
-
!!! error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
39
+
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/readonlyTupleAndArrayElaboration.errors.txt
+6-6
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@ tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(45,7): error TS2322: Ty
25
25
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(48,7): error TS2322: Type 'number[]' is not assignable to type 'boolean[]'.
26
26
Type 'number' is not assignable to type 'boolean'.
27
27
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(51,7): error TS2322: Type 'readonly [1]' is not assignable to type 'readonly boolean[]'.
28
-
Type '1' is not assignable to type 'boolean'.
28
+
Type 'number' is not assignable to type 'boolean'.
29
29
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(54,7): error TS4104: The type 'readonly [1]' is 'readonly' and cannot be assigned to the mutable type 'number[]'.
30
30
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(57,7): error TS2322: Type '[1]' is not assignable to type 'readonly boolean[]'.
31
-
Type '1' is not assignable to type 'boolean'.
31
+
Type 'number' is not assignable to type 'boolean'.
32
32
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(60,7): error TS2322: Type '[1]' is not assignable to type 'boolean[]'.
33
-
Type '1' is not assignable to type 'boolean'.
33
+
Type 'number' is not assignable to type 'boolean'.
34
34
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(63,7): error TS2322: Type 'readonly number[]' is not assignable to type 'readonly [1]'.
35
35
Target requires 1 element(s) but source may have fewer.
36
36
tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(66,7): error TS4104: The type 'readonly number[]' is 'readonly' and cannot be assigned to the mutable type '[1]'.
@@ -134,7 +134,7 @@ tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(72,7): error TS2322: Ty
134
134
const ta2: readonly boolean[] = ta1;
135
135
~~~
136
136
!!! error TS2322: Type 'readonly [1]' is not assignable to type 'readonly boolean[]'.
137
-
!!! error TS2322: Type '1' is not assignable to type 'boolean'.
137
+
!!! error TS2322: Type 'number' is not assignable to type 'boolean'.
138
138
139
139
const ta3: readonly [1] = [1];
140
140
const ta4: number[] = ta3;
@@ -145,13 +145,13 @@ tests/cases/compiler/readonlyTupleAndArrayElaboration.ts(72,7): error TS2322: Ty
145
145
const ta6: readonly boolean[] = ta5;
146
146
~~~
147
147
!!! error TS2322: Type '[1]' is not assignable to type 'readonly boolean[]'.
148
-
!!! error TS2322: Type '1' is not assignable to type 'boolean'.
148
+
!!! error TS2322: Type 'number' is not assignable to type 'boolean'.
149
149
150
150
const ta7: [1] = [1];
151
151
const ta8: boolean[] = ta7;
152
152
~~~
153
153
!!! error TS2322: Type '[1]' is not assignable to type 'boolean[]'.
154
-
!!! error TS2322: Type '1' is not assignable to type 'boolean'.
154
+
!!! error TS2322: Type 'number' is not assignable to type 'boolean'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/restParameterWithBindingPattern3.errors.txt
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ tests/cases/compiler/restParameterWithBindingPattern3.ts(1,23): error TS2322: Ty
3
3
tests/cases/compiler/restParameterWithBindingPattern3.ts(3,23): error TS1186: A rest element cannot have an initializer.
4
4
tests/cases/compiler/restParameterWithBindingPattern3.ts(5,30): error TS2493: Tuple type '[boolean, string, number]' of length '3' has no element at index '3'.
5
5
tests/cases/compiler/restParameterWithBindingPattern3.ts(7,23): error TS2493: Tuple type '[boolean, string, number]' of length '3' has no element at index '3'.
6
-
tests/cases/compiler/restParameterWithBindingPattern3.ts(9,19): error TS2322: Type '1' is not assignable to type 'boolean'.
6
+
tests/cases/compiler/restParameterWithBindingPattern3.ts(9,19): error TS2322: Type 'number' is not assignable to type 'boolean'.
7
7
tests/cases/compiler/restParameterWithBindingPattern3.ts(9,29): error TS2322: Type 'boolean' is not assignable to type 'string'.
8
8
tests/cases/compiler/restParameterWithBindingPattern3.ts(9,48): error TS2566: A rest element cannot have a property name.
9
9
@@ -29,7 +29,7 @@ tests/cases/compiler/restParameterWithBindingPattern3.ts(9,48): error TS2566: A
29
29
30
30
function e(...{0: a = 1, 1: b = true, ...rest: rest}: [boolean, string, number]) { }
31
31
~
32
-
!!! error TS2322: Type '1' is not assignable to type 'boolean'.
32
+
!!! error TS2322: Type 'number' is not assignable to type 'boolean'.
33
33
~
34
34
!!! error TS2322: Type 'boolean' is not assignable to type 'string'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/taggedTemplateStringsWithIncompatibleTypedTags.errors.txt
+14-14
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(14,9): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
2
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(18,9): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
3
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(22,9): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
4
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(24,25): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
5
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(26,9): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
6
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(26,46): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
7
-
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(28,57): error TS2345: Argument of type '1' is not assignable to parameter of type 'boolean'.
1
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(14,9): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
2
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(18,9): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
3
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(22,9): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
4
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(24,25): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
5
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(26,9): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
6
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(26,46): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
7
+
tests/cases/conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts(28,57): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'.
0 commit comments