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
+34-8Lines changed: 34 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -883,14 +883,31 @@
883
883
"category": "Error",
884
884
"code": 1322
885
885
},
886
-
"String literal with double quotes expected.": {
886
+
"Dynamic import cannot be used when targeting ECMAScript 2015 modules.": {
887
887
"category": "Error",
888
888
"code": 1323
889
889
},
890
-
"Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.": {
890
+
"Dynamic import must have one specifier as an argument.": {
891
891
"category": "Error",
892
892
"code": 1324
893
893
},
894
+
"Specifier of dynamic import cannot be spread element.": {
895
+
"category": "Error",
896
+
"code": 1325
897
+
},
898
+
"Dynamic import cannot have type arguments": {
899
+
"category": "Error",
900
+
"code": 1326
901
+
},
902
+
"String literal with double quotes expected.": {
903
+
"category": "Error",
904
+
"code": 1327
905
+
},
906
+
"Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.": {
907
+
"category": "Error",
908
+
"code": 1328
909
+
},
910
+
894
911
"Duplicate identifier '{0}'.": {
895
912
"category": "Error",
896
913
"code": 2300
@@ -1935,10 +1952,6 @@
1935
1952
"category": "Error",
1936
1953
"code": 2649
1937
1954
},
1938
-
"Cannot emit namespaced JSX elements in React.": {
1939
-
"category": "Error",
1940
-
"code": 2650
1941
-
},
1942
1955
"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.": {
1943
1956
"category": "Error",
1944
1957
"code": 2651
@@ -2171,6 +2184,14 @@
2171
2184
"category": "Error",
2172
2185
"code": 2710
2173
2186
},
2187
+
"A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option.": {
2188
+
"category": "Error",
2189
+
"code": 2711
2190
+
},
2191
+
"A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option.": {
2192
+
"category": "Error",
2193
+
"code": 2712
2194
+
},
2174
2195
2175
2196
"Import declaration '{0}' is using private name '{1}'.": {
0 commit comments