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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -944,7 +944,7 @@
944
944
"category": "Error",
945
945
"code": 1322
946
946
},
947
-
"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.": {
947
+
"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.": {
948
948
"category": "Error",
949
949
"code": 1323
950
950
},
@@ -1020,7 +1020,7 @@
1020
1020
"category": "Error",
1021
1021
"code": 1342
1022
1022
},
1023
-
"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.": {
1023
+
"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', or 'system'.": {
1024
1024
"category": "Error",
1025
1025
"code": 1343
1026
1026
},
@@ -1148,7 +1148,7 @@
1148
1148
"category": "Message",
1149
1149
"code": 1377
1150
1150
},
1151
-
"Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher.": {
1151
+
"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', or 'system', and the 'target' option is set to 'es2017' or higher.": {
1152
1152
"category": "Error",
1153
1153
"code": 1378
1154
1154
},
@@ -1364,7 +1364,7 @@
1364
1364
"category": "Error",
1365
1365
"code": 1431
1366
1366
},
1367
-
"Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher.": {
1367
+
"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', or 'system', and the 'target' option is set to 'es2017' or higher.": {
0 commit comments