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
+26-8
Original file line number
Diff line number
Diff line change
@@ -2076,10 +2076,6 @@
2076
2076
"category": "Error",
2077
2077
"code": 2569
2078
2078
},
2079
-
"Property '{0}' does not exist on type '{1}'. Did you forget to use 'await'?": {
2080
-
"category": "Error",
2081
-
"code": 2570
2082
-
},
2083
2079
"Object is of type 'unknown'.": {
2084
2080
"category": "Error",
2085
2081
"code": 2571
@@ -4643,6 +4639,11 @@
4643
4639
"category": "Suggestion",
4644
4640
"code": 80006
4645
4641
},
4642
+
"'await' has no effect on the type of this expression.": {
4643
+
"category": "Suggestion",
4644
+
"code": 80007
4645
+
},
4646
+
4646
4647
"Add missing 'super()' call": {
4647
4648
"category": "Message",
4648
4649
"code": 90001
@@ -5091,14 +5092,31 @@
5091
5092
"category": "Message",
5092
5093
"code": 95082
5093
5094
},
5095
+
"Add 'await'": {
5096
+
"category": "Message",
5097
+
"code": 95083
5098
+
},
5099
+
"Add 'await' to initializer for '{0}'": {
5100
+
"category": "Message",
5101
+
"code": 95084
5102
+
},
5103
+
"Fix all expressions possibly missing 'await'": {
5104
+
"category": "Message",
5105
+
"code": 95085
5106
+
},
5107
+
"Remove unnecessary 'await'": {
5108
+
"category": "Message",
5109
+
"code": 95086
5110
+
},
5111
+
"Remove all unnecessary uses of 'await'": {
5112
+
"category": "Message",
5113
+
"code": 95087
5114
+
},
5115
+
5094
5116
"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.": {
5095
5117
"category": "Error",
5096
5118
"code": 18004
5097
5119
},
5098
-
"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.": {
5099
-
"category": "Error",
5100
-
"code": 18005
5101
-
},
5102
5120
"Classes may not have a field named 'constructor'.": {
0 commit comments