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
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -783,10 +783,6 @@
783
783
"category": "Error",
784
784
"code": 1245
785
785
},
786
-
"Experimental support for async functions is a feature that is subject to change in a future release. Specify '--experimentalAsyncFunctions' to remove this warning.": {
787
-
"category": "Error",
788
-
"code": 1246
789
-
},
790
786
791
787
"'with' statements are not allowed in an async function block.": {
792
788
"category": "Error",
@@ -800,6 +796,10 @@
800
796
"category": "Error",
801
797
"code": 1311
802
798
},
799
+
"'=' can only be used in an object literal property inside a destructuring assignment.": {
800
+
"category": "Error",
801
+
"code": 1312
802
+
},
803
803
"Duplicate identifier '{0}'.": {
804
804
"category": "Error",
805
805
"code": 2300
@@ -1656,6 +1656,10 @@
1656
1656
"category": "Error",
1657
1657
"code": 2527
1658
1658
},
1659
+
"A module cannot have multiple default exports.": {
1660
+
"category": "Error",
1661
+
"code": 2528
1662
+
},
1659
1663
"JSX element attributes type '{0}' must be an object type.": {
1660
1664
"category": "Error",
1661
1665
"code": 2600
@@ -2274,10 +2278,6 @@
2274
2278
"category": "Message",
2275
2279
"code": 6066
2276
2280
},
2277
-
"Option 'experimentalAsyncFunctions' cannot be specified when targeting ES5 or lower.": {
2278
-
"category": "Message",
2279
-
"code": 6067
2280
-
},
2281
2281
"Enables experimental support for ES7 async functions.": {
2282
2282
"category": "Message",
2283
2283
"code": 6068
@@ -2469,5 +2469,13 @@
2469
2469
"A constructor cannot contain a 'super' call when its class extends 'null'": {
2470
2470
"category": "Error",
2471
2471
"code": 17005
2472
+
},
2473
+
"An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.": {
2474
+
"category": "Error",
2475
+
"code": 17006
2476
+
},
2477
+
"A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.": {
0 commit comments