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
error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
2
+
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
3
+
tests/cases/compiler/a.js(3,1): error TS2322: Type '0' is not assignable to type 'string'.
4
+
5
+
6
+
!!! error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
7
+
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
8
+
==== tests/cases/compiler/a.js (1 errors) ====
9
+
10
+
var x = "string";
11
+
x = 0;
12
+
~
13
+
!!! error TS2322: Type '0' is not assignable to type 'string'.
error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
2
+
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
3
+
tests/cases/compiler/a.js(4,1): error TS2322: Type '0' is not assignable to type 'string'.
4
+
5
+
6
+
!!! error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
7
+
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
8
+
==== tests/cases/compiler/a.js (1 errors) ====
9
+
10
+
// @check
11
+
var x = "string";
12
+
x = 0;
13
+
~
14
+
!!! error TS2322: Type '0' is not assignable to type 'string'.
error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
2
+
Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
3
+
tests/cases/compiler/a.js(4,1): error TS2322: Type '0' is not assignable to type 'string'.
4
+
5
+
6
+
!!! error TS5055: Cannot write file 'tests/cases/compiler/a.js' because it would overwrite input file.
7
+
!!! error TS5055: Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.
8
+
==== tests/cases/compiler/a.js (1 errors) ====
9
+
10
+
// @check
11
+
var x = "string";
12
+
x = 0;
13
+
~
14
+
!!! error TS2322: Type '0' is not assignable to type 'string'.
0 commit comments