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: src/compiler/diagnosticMessages.json
+31-10
Original file line number
Diff line number
Diff line change
@@ -1372,13 +1372,30 @@
1372
1372
"category": "Error",
1373
1373
"code": 1443
1374
1374
},
1375
-
"The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.": {
1375
+
"'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.": {
1376
1376
"category": "Error",
1377
1377
"code": 1444
1378
1378
},
1379
+
"'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.": {
1380
+
"category": "Error",
1381
+
"code": 1446
1382
+
},
1383
+
"'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled.": {
1384
+
"category": "Error",
1385
+
"code": 1448
1386
+
},
1387
+
"Preserve unused imported values in the JavaScript output that would otherwise be removed.": {
1388
+
"category": "Message",
1389
+
"code": 1449
1390
+
},
1391
+
1392
+
"The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.": {
1393
+
"category": "Error",
1394
+
"code": 1470
1395
+
},
1379
1396
"Module '{0}' cannot be imported using this construct. The specifier only resolves to an es module, which cannot be imported synchronously. Use dynamic import instead.": {
1380
1397
"category": "Error",
1381
-
"code": 1445
1398
+
"code": 1471
1382
1399
},
1383
1400
1384
1401
"The types of '{0}' are incompatible between these types.": {
@@ -3292,6 +3309,10 @@
3292
3309
"category": "Error",
3293
3310
"code": 2819
3294
3311
},
3312
+
"Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?": {
3313
+
"category": "Error",
3314
+
"code": 2820
3315
+
},
3295
3316
3296
3317
"Import declaration '{0}' is using private name '{1}'.": {
3297
3318
"category": "Error",
@@ -3918,6 +3939,10 @@
3918
3939
"category": "Error",
3919
3940
"code": 5094
3920
3941
},
3942
+
"Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later.": {
3943
+
"category": "Error",
3944
+
"code": 5095
3945
+
},
3921
3946
3922
3947
"Generates a sourcemap for each corresponding '.d.ts' file.": {
3923
3948
"category": "Message",
@@ -3931,10 +3956,6 @@
3931
3956
"category": "Message",
3932
3957
"code": 6002
3933
3958
},
3934
-
"Specify the location where debugger should locate map files instead of generated locations.": {
3935
-
"category": "Message",
3936
-
"code": 6003
3937
-
},
3938
3959
"Specify the location where debugger should locate TypeScript files instead of source locations.": {
3939
3960
"category": "Message",
3940
3961
"code": 6004
@@ -4501,10 +4522,6 @@
4501
4522
"category": "Message",
4502
4523
"code": 6163
4503
4524
},
4504
-
"Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.": {
4505
-
"category": "Message",
4506
-
"code": 6164
4507
-
},
4508
4525
"Do not truncate error messages.": {
4509
4526
"category": "Message",
4510
4527
"code": 6165
@@ -4842,6 +4859,10 @@
4842
4859
"category": "Message",
4843
4860
"code": 6257
4844
4861
},
4862
+
"'{0}' should be set inside the 'compilerOptions' object of the config json file": {
4863
+
"category": "Error",
4864
+
"code": 6258
4865
+
},
4845
4866
4846
4867
"Directory '{0}' has no containing package.json scope. Imports will not resolve.": {
0 commit comments