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
+46-8Lines changed: 46 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -883,6 +883,23 @@
883
883
"category": "Error",
884
884
"code": 1322
885
885
},
886
+
"Dynamic import cannot be used when targeting ECMAScript 2015 modules.": {
887
+
"category": "Error",
888
+
"code": 1323
889
+
},
890
+
"Dynamic import must have one specifier as an argument.": {
891
+
"category": "Error",
892
+
"code": 1324
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
+
886
903
"Duplicate identifier '{0}'.": {
887
904
"category": "Error",
888
905
"code": 2300
@@ -1879,6 +1896,10 @@
1879
1896
"category": "Error",
1880
1897
"code": 2558
1881
1898
},
1899
+
"Type '{0}' has no properties in common with type '{1}'.": {
1900
+
"category": "Error",
1901
+
"code": 2559
1902
+
},
1882
1903
"JSX element attributes type '{0}' may not be a union type.": {
1883
1904
"category": "Error",
1884
1905
"code": 2600
@@ -1923,10 +1944,6 @@
1923
1944
"category": "Error",
1924
1945
"code": 2649
1925
1946
},
1926
-
"Cannot emit namespaced JSX elements in React.": {
1927
-
"category": "Error",
1928
-
"code": 2650
1929
-
},
1930
1947
"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.": {
1931
1948
"category": "Error",
1932
1949
"code": 2651
@@ -2159,6 +2176,14 @@
2159
2176
"category": "Error",
2160
2177
"code": 2710
2161
2178
},
2179
+
"A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option.": {
2180
+
"category": "Error",
2181
+
"code": 2711
2182
+
},
2183
+
"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.": {
2184
+
"category": "Error",
2185
+
"code": 2712
2186
+
},
2162
2187
2163
2188
"Import declaration '{0}' is using private name '{1}'.": {
0 commit comments