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
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4635,6 +4635,11 @@
4635
4635
"category": "Suggestion",
4636
4636
"code": 80006
4637
4637
},
4638
+
"'await' has no effect on the type of this expression.": {
4639
+
"category": "Suggestion",
4640
+
"code": 80007
4641
+
},
4642
+
4638
4643
"Add missing 'super()' call": {
4639
4644
"category": "Message",
4640
4645
"code": 90001
@@ -5095,15 +5100,19 @@
5095
5100
"category": "Message",
5096
5101
"code": 95085
5097
5102
},
5103
+
"Remove unnecessary 'await'": {
5104
+
"category": "Message",
5105
+
"code": 95086
5106
+
},
5107
+
"Remove all unnecessary uses of 'await'": {
5108
+
"category": "Message",
5109
+
"code": 95087
5110
+
},
5098
5111
5099
5112
"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.": {
5100
5113
"category": "Error",
5101
5114
"code": 18004
5102
5115
},
5103
-
"Quoted constructors have previously been interpreted as methods, which is incorrect. In TypeScript 3.6, they will be correctly parsed as constructors. In the meantime, consider using 'constructor()' to write a constructor, or '[\"constructor\"]()' to write a method.": {
5104
-
"category": "Error",
5105
-
"code": 18005
5106
-
},
5107
5116
"Classes may not have a field named 'constructor'.": {
0 commit comments