@@ -17,7 +17,7 @@ commonMissingSemicolons.ts(15,1): error TS2304: Cannot find name 'consd'.
17
17
commonMissingSemicolons.ts(15,7): error TS2552: Cannot find name 'myConst2'. Did you mean 'myConst1'?
18
18
commonMissingSemicolons.ts(16,1): error TS1435: Unknown keyword or identifier. Did you mean 'const'?
19
19
commonMissingSemicolons.ts(16,1): error TS2304: Cannot find name 'constd'.
20
- commonMissingSemicolons.ts(16,8): error TS2304 : Cannot find name 'myConst3'.
20
+ commonMissingSemicolons.ts(16,8): error TS2552 : Cannot find name 'myConst3'. Did you mean 'myConst1'?
21
21
commonMissingSemicolons.ts(19,1): error TS1435: Unknown keyword or identifier. Did you mean 'declare'?
22
22
commonMissingSemicolons.ts(19,1): error TS2304: Cannot find name 'declared'.
23
23
commonMissingSemicolons.ts(20,1): error TS2304: Cannot find name 'declare'.
@@ -28,11 +28,11 @@ commonMissingSemicolons.ts(21,1): error TS2304: Cannot find name 'declared'.
28
28
commonMissingSemicolons.ts(21,10): error TS1435: Unknown keyword or identifier. Did you mean 'const'?
29
29
commonMissingSemicolons.ts(21,10): error TS2304: Cannot find name 'constd'.
30
30
commonMissingSemicolons.ts(22,1): error TS1435: Unknown keyword or identifier. Did you mean 'declare const'?
31
- commonMissingSemicolons.ts(22,1): error TS2304 : Cannot find name 'declareconst'.
32
- commonMissingSemicolons.ts(22,14): error TS2304 : Cannot find name 'myDeclareConst5'.
31
+ commonMissingSemicolons.ts(22,1): error TS2552 : Cannot find name 'declareconst'. Did you mean 'myDeclareConst1'?
32
+ commonMissingSemicolons.ts(22,14): error TS2552 : Cannot find name 'myDeclareConst5'. Did you mean 'myDeclareConst1'?
33
33
commonMissingSemicolons.ts(25,1): error TS1435: Unknown keyword or identifier. Did you mean 'function'?
34
- commonMissingSemicolons.ts(25,1): error TS2304 : Cannot find name 'functiond'.
35
- commonMissingSemicolons.ts(25,11): error TS2304 : Cannot find name 'myFunction2'.
34
+ commonMissingSemicolons.ts(25,1): error TS2552 : Cannot find name 'functiond'. Did you mean 'Function'?
35
+ commonMissingSemicolons.ts(25,11): error TS2552 : Cannot find name 'myFunction2'. Did you mean 'myFunction1'?
36
36
commonMissingSemicolons.ts(25,25): error TS1005: ';' expected.
37
37
commonMissingSemicolons.ts(26,10): error TS1359: Identifier expected. 'function' is a reserved word that cannot be used here.
38
38
commonMissingSemicolons.ts(26,18): error TS1003: Identifier expected.
@@ -48,8 +48,8 @@ commonMissingSemicolons.ts(33,11): error TS2427: Interface name cannot be 'void'
48
48
commonMissingSemicolons.ts(34,1): error TS1435: Unknown keyword or identifier. Did you mean 'interface MyInterface'?
49
49
commonMissingSemicolons.ts(34,1): error TS2304: Cannot find name 'interfaceMyInterface'.
50
50
commonMissingSemicolons.ts(38,1): error TS1435: Unknown keyword or identifier. Did you mean 'let'?
51
- commonMissingSemicolons.ts(38,1): error TS2304 : Cannot find name 'letd'.
52
- commonMissingSemicolons.ts(38,6): error TS2304 : Cannot find name 'let2'.
51
+ commonMissingSemicolons.ts(38,1): error TS2552 : Cannot find name 'letd'. Did you mean 'let'?
52
+ commonMissingSemicolons.ts(38,6): error TS2552 : Cannot find name 'let2'. Did you mean 'let'?
53
53
commonMissingSemicolons.ts(39,1): error TS2304: Cannot find name 'letMyLet'.
54
54
commonMissingSemicolons.ts(41,10): error TS1005: '=' expected.
55
55
commonMissingSemicolons.ts(45,1): error TS1435: Unknown keyword or identifier. Did you mean 'type'?
@@ -62,7 +62,7 @@ commonMissingSemicolons.ts(46,15): error TS2693: 'type' only refers to a type, b
62
62
commonMissingSemicolons.ts(47,1): error TS2304: Cannot find name 'typeMyType'.
63
63
commonMissingSemicolons.ts(50,1): error TS1435: Unknown keyword or identifier. Did you mean 'var'?
64
64
commonMissingSemicolons.ts(50,1): error TS2304: Cannot find name 'vard'.
65
- commonMissingSemicolons.ts(50,6): error TS2304 : Cannot find name 'myVar2'.
65
+ commonMissingSemicolons.ts(50,6): error TS2552 : Cannot find name 'myVar2'. Did you mean 'myVar1'?
66
66
commonMissingSemicolons.ts(51,1): error TS2304: Cannot find name 'varMyVar'.
67
67
commonMissingSemicolons.ts(55,3): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
68
68
commonMissingSemicolons.ts(56,1): error TS1128: Declaration or statement expected.
@@ -135,7 +135,8 @@ commonMissingSemicolons.ts(78,1): error TS1128: Declaration or statement expecte
135
135
~~~~~~
136
136
!!! error TS2304: Cannot find name 'constd'.
137
137
~~~~~~~~
138
- !!! error TS2304: Cannot find name 'myConst3'.
138
+ !!! error TS2552: Cannot find name 'myConst3'. Did you mean 'myConst1'?
139
+ !!! related TS2728 commonMissingSemicolons.ts:14:7: 'myConst1' is declared here.
139
140
140
141
declare const myDeclareConst1: 1;
141
142
declared const myDeclareConst2: 1;
@@ -163,18 +164,22 @@ commonMissingSemicolons.ts(78,1): error TS1128: Declaration or statement expecte
163
164
~~~~~~~~~~~~
164
165
!!! error TS1435: Unknown keyword or identifier. Did you mean 'declare const'?
165
166
~~~~~~~~~~~~
166
- !!! error TS2304: Cannot find name 'declareconst'.
167
+ !!! error TS2552: Cannot find name 'declareconst'. Did you mean 'myDeclareConst1'?
168
+ !!! related TS2728 commonMissingSemicolons.ts:18:15: 'myDeclareConst1' is declared here.
167
169
~~~~~~~~~~~~~~~
168
- !!! error TS2304: Cannot find name 'myDeclareConst5'.
170
+ !!! error TS2552: Cannot find name 'myDeclareConst5'. Did you mean 'myDeclareConst1'?
171
+ !!! related TS2728 commonMissingSemicolons.ts:18:15: 'myDeclareConst1' is declared here.
169
172
170
173
function myFunction1() { }
171
174
functiond myFunction2() { }
172
175
~~~~~~~~~
173
176
!!! error TS1435: Unknown keyword or identifier. Did you mean 'function'?
174
177
~~~~~~~~~
175
- !!! error TS2304: Cannot find name 'functiond'.
178
+ !!! error TS2552: Cannot find name 'functiond'. Did you mean 'Function'?
179
+ !!! related TS2728 lib.es5.d.ts:--:--: 'Function' is declared here.
176
180
~~~~~~~~~~~
177
- !!! error TS2304: Cannot find name 'myFunction2'.
181
+ !!! error TS2552: Cannot find name 'myFunction2'. Did you mean 'myFunction1'?
182
+ !!! related TS2728 commonMissingSemicolons.ts:24:10: 'myFunction1' is declared here.
178
183
~
179
184
!!! error TS1005: ';' expected.
180
185
function function() { }
@@ -219,9 +224,11 @@ commonMissingSemicolons.ts(78,1): error TS1128: Declaration or statement expecte
219
224
~~~~
220
225
!!! error TS1435: Unknown keyword or identifier. Did you mean 'let'?
221
226
~~~~
222
- !!! error TS2304: Cannot find name 'letd'.
227
+ !!! error TS2552: Cannot find name 'letd'. Did you mean 'let'?
228
+ !!! related TS2728 commonMissingSemicolons.ts:36:5: 'let' is declared here.
223
229
~~~~
224
- !!! error TS2304: Cannot find name 'let2'.
230
+ !!! error TS2552: Cannot find name 'let2'. Did you mean 'let'?
231
+ !!! related TS2728 commonMissingSemicolons.ts:36:5: 'let' is declared here.
225
232
letMyLet;
226
233
~~~~~~~~
227
234
!!! error TS2304: Cannot find name 'letMyLet'.
@@ -259,7 +266,8 @@ commonMissingSemicolons.ts(78,1): error TS1128: Declaration or statement expecte
259
266
~~~~
260
267
!!! error TS2304: Cannot find name 'vard'.
261
268
~~~~~~
262
- !!! error TS2304: Cannot find name 'myVar2'.
269
+ !!! error TS2552: Cannot find name 'myVar2'. Did you mean 'myVar1'?
270
+ !!! related TS2728 commonMissingSemicolons.ts:49:5: 'myVar1' is declared here.
263
271
varMyVar;
264
272
~~~~~~~~
265
273
!!! error TS2304: Cannot find name 'varMyVar'.
0 commit comments