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
+6-2
Original file line number
Diff line number
Diff line change
@@ -1424,7 +1424,7 @@
1424
1424
"category": "Error",
1425
1425
"code": 1451
1426
1426
},
1427
-
"Resolution modes are only supported when `moduleResolution` is `node16` or `nodenext`.": {
1427
+
"'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.": {
1428
1428
"category": "Error",
1429
1429
"code": 1452
1430
1430
},
@@ -3451,6 +3451,10 @@
3451
3451
"category": "Error",
3452
3452
"code": 2838
3453
3453
},
3454
+
"The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": {
3455
+
"category": "Error",
3456
+
"code": 2841
3457
+
},
3454
3458
3455
3459
"Import declaration '{0}' is using private name '{1}'.": {
3456
3460
"category": "Error",
@@ -3880,7 +3884,7 @@
3880
3884
"category": "Error",
3881
3885
"code": 4124
3882
3886
},
3883
-
"Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": {
3887
+
"'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": {
0 commit comments