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
@@ -1440,7 +1440,7 @@
1440
1440
"category": "Error",
1441
1441
"code": 1451
1442
1442
},
1443
-
"Resolution modes are only supported when `moduleResolution` is `node16` or `nodenext`.": {
1443
+
"'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.": {
1444
1444
"category": "Error",
1445
1445
"code": 1452
1446
1446
},
@@ -3483,6 +3483,10 @@
3483
3483
"category": "Error",
3484
3484
"code": 2840
3485
3485
},
3486
+
"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'.": {
3487
+
"category": "Error",
3488
+
"code": 2841
3489
+
},
3486
3490
3487
3491
"Import declaration '{0}' is using private name '{1}'.": {
3488
3492
"category": "Error",
@@ -3912,7 +3916,7 @@
3912
3916
"category": "Error",
3913
3917
"code": 4124
3914
3918
},
3915
-
"Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": {
3919
+
"'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.": {
0 commit comments