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
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@
163
163
"category": "Error",
164
164
"code": 1054
165
165
},
166
-
"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.": {
166
+
"Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value.": {
167
167
"category": "Error",
168
168
"code": 1055
169
169
},
@@ -799,15 +799,15 @@
799
799
"category": "Error",
800
800
"code": 1249
801
801
},
802
-
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.": {
802
+
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'.": {
803
803
"category": "Error",
804
804
"code": 1250
805
805
},
806
-
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.": {
806
+
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode.": {
807
807
"category": "Error",
808
808
"code": 1251
809
809
},
810
-
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.": {
810
+
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode.": {
811
811
"category": "Error",
812
812
"code": 1252
813
813
},
@@ -2420,7 +2420,7 @@
2420
2420
"category": "Error",
2421
2421
"code": 2495
2422
2422
},
2423
-
"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.": {
2423
+
"The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression.": {
2424
2424
"category": "Error",
2425
2425
"code": 2496
2426
2426
},
@@ -2520,7 +2520,7 @@
2520
2520
"category": "Error",
2521
2521
"code": 2520
2522
2522
},
2523
-
"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.": {
2523
+
"The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method.": {
2524
2524
"category": "Error",
2525
2525
"code": 2522
2526
2526
},
@@ -3135,7 +3135,7 @@
3135
3135
"category": "Error",
3136
3136
"code": 2704
3137
3137
},
3138
-
"An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": {
3138
+
"An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": {
3139
3139
"category": "Error",
3140
3140
"code": 2705
3141
3141
},
@@ -3163,7 +3163,7 @@
3163
3163
"category": "Error",
3164
3164
"code": 2711
3165
3165
},
3166
-
"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.": {
3166
+
"A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.": {
3167
3167
"category": "Error",
3168
3168
"code": 2712
3169
3169
},
@@ -4229,10 +4229,6 @@
4229
4229
"category": "Error",
4230
4230
"code": 5047
4231
4231
},
4232
-
"Option '{0}' cannot be specified when option 'target' is 'ES3'.": {
4233
-
"category": "Error",
4234
-
"code": 5048
4235
-
},
4236
4232
"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.": {
4237
4233
"category": "Error",
4238
4234
"code": 5051
@@ -5065,7 +5061,7 @@
5065
5061
"category": "Message",
5066
5062
"code": 6171
5067
5063
},
5068
-
"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.": {
5064
+
"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'.": {
0 commit comments