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
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1031,11 +1031,11 @@
1031
1031
"category": "Error",
1032
1032
"code": 1322
1033
1033
},
1034
-
"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', or 'nodenext'.": {
1034
+
"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.": {
1035
1035
"category": "Error",
1036
1036
"code": 1323
1037
1037
},
1038
-
"Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'.": {
1038
+
"Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'.": {
1039
1039
"category": "Error",
1040
1040
"code": 1324
1041
1041
},
@@ -1103,7 +1103,7 @@
1103
1103
"category": "Error",
1104
1104
"code": 1341
1105
1105
},
1106
-
"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'.": {
1106
+
"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'.": {
1107
1107
"category": "Error",
1108
1108
"code": 1343
1109
1109
},
@@ -1223,7 +1223,7 @@
1223
1223
"category": "Message",
1224
1224
"code": 1377
1225
1225
},
1226
-
"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
1226
+
"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
1227
1227
"category": "Error",
1228
1228
"code": 1378
1229
1229
},
@@ -1427,7 +1427,7 @@
1427
1427
"category": "Error",
1428
1428
"code": 1431
1429
1429
},
1430
-
"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
1430
+
"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
1431
1431
"category": "Error",
1432
1432
"code": 1432
1433
1433
},
@@ -3799,15 +3799,15 @@
3799
3799
"category": "Error",
3800
3800
"code": 2820
3801
3801
},
3802
-
"Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.": {
3802
+
"Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'.": {
3803
3803
"category": "Error",
3804
3804
"code": 2821
3805
3805
},
3806
3806
"Import assertions cannot be used with type-only imports or exports.": {
3807
3807
"category": "Error",
3808
3808
"code": 2822
3809
3809
},
3810
-
"Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'.": {
3810
+
"Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'.": {
3811
3811
"category": "Error",
3812
3812
"code": 2823
3813
3813
},
@@ -3887,7 +3887,7 @@
3887
3887
"category": "Error",
3888
3888
"code": 2853
3889
3889
},
3890
-
"Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
3890
+
"Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.": {
0 commit comments