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
+37-7Lines changed: 37 additions & 7 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
@@ -1887,6 +1904,10 @@
1887
1904
"category": "Error",
1888
1905
"code": 2558
1889
1906
},
1907
+
"Type '{0}' has no properties in common with type '{1}'.": {
1908
+
"category": "Error",
1909
+
"code": 2559
1910
+
},
1890
1911
"JSX element attributes type '{0}' may not be a union type.": {
1891
1912
"category": "Error",
1892
1913
"code": 2600
@@ -1931,10 +1952,6 @@
1931
1952
"category": "Error",
1932
1953
"code": 2649
1933
1954
},
1934
-
"Cannot emit namespaced JSX elements in React.": {
1935
-
"category": "Error",
1936
-
"code": 2650
1937
-
},
1938
1955
"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.": {
1939
1956
"category": "Error",
1940
1957
"code": 2651
@@ -2167,6 +2184,14 @@
2167
2184
"category": "Error",
2168
2185
"code": 2710
2169
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
+
},
2170
2195
2171
2196
"Import declaration '{0}' is using private name '{1}'.": {
0 commit comments