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: testdata/baselines/reference/submodule/compiler/argumentsReferenceInConstructor4_Js.errors.txt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
/a.js(18,9): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.
2
-
/a.js(23,24): error TS2339: Property 'bar' does not exist on type 'object'.
3
2
4
3
5
-
==== /a.js (2 errors) ====
4
+
==== /a.js (1 errors) ====
6
5
class A {
7
6
/**
8
7
* Constructor
@@ -28,8 +27,6 @@
28
27
* @type object
29
28
*/
30
29
this.bar = arguments.bar;
31
-
~~~
32
-
!!! error TS2339: Property 'bar' does not exist on type 'object'.
Copy file name to clipboardExpand all lines: testdata/baselines/reference/submodule/compiler/argumentsReferenceInMethod4_Js.errors.txt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
/a.js(16,9): error TS1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of 'arguments'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.
2
-
/a.js(21,24): error TS2339: Property 'bar' does not exist on type 'object'.
3
2
4
3
5
-
==== /a.js (2 errors) ====
4
+
==== /a.js (1 errors) ====
6
5
class A {
7
6
/**
8
7
* @param {object} [foo={}]
@@ -26,8 +25,6 @@
26
25
* @type object
27
26
*/
28
27
this.bar = arguments.bar;
29
-
~~~
30
-
!!! error TS2339: Property 'bar' does not exist on type 'object'.
Copy file name to clipboardExpand all lines: testdata/baselines/reference/submodule/compiler/jsFileClassPropertyInitalizationInObjectLiteral.errors.txt
Copy file name to clipboardExpand all lines: testdata/baselines/reference/submodule/compiler/jsFileCompilationDuplicateFunctionImplementation.errors.txt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,8 @@
1
1
a.ts(1,10): error TS2393: Duplicate function implementation.
2
-
b.js(1,10): error TS2393: Duplicate function implementation.
3
2
4
3
5
-
==== b.js (1 errors) ====
4
+
==== b.js (0 errors) ====
6
5
function foo() {
7
-
~~~
8
-
!!! error TS2393: Duplicate function implementation.
Copy file name to clipboardExpand all lines: testdata/baselines/reference/submodule/compiler/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.errors.txt
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,4 @@
1
1
a.ts(1,10): error TS2393: Duplicate function implementation.
2
-
b.js(1,10): error TS2393: Duplicate function implementation.
3
2
4
3
5
4
==== a.ts (1 errors) ====
@@ -9,10 +8,8 @@ b.js(1,10): error TS2393: Duplicate function implementation.
9
8
return 30;
10
9
}
11
10
12
-
==== b.js (1 errors) ====
11
+
==== b.js (0 errors) ====
13
12
function foo() {
14
-
~~~
15
-
!!! error TS2393: Duplicate function implementation.
0 commit comments