@@ -149,7 +149,10 @@ tester.run('define-emits-declaration', rule, {
149
149
errors : [
150
150
{
151
151
message : 'Use type based declaration instead of runtime declaration.' ,
152
- line : 3
152
+ line : 3 ,
153
+ column : 21 ,
154
+ endLine : 3 ,
155
+ endColumn : 54
153
156
}
154
157
]
155
158
} ,
@@ -164,7 +167,10 @@ tester.run('define-emits-declaration', rule, {
164
167
errors : [
165
168
{
166
169
message : 'Use type based declaration instead of runtime declaration.' ,
167
- line : 3
170
+ line : 3 ,
171
+ column : 21 ,
172
+ endLine : 3 ,
173
+ endColumn : 54
168
174
}
169
175
]
170
176
} ,
@@ -184,7 +190,10 @@ tester.run('define-emits-declaration', rule, {
184
190
errors : [
185
191
{
186
192
message : 'Use type based declaration instead of runtime declaration.' ,
187
- line : 3
193
+ line : 3 ,
194
+ column : 21 ,
195
+ endLine : 3 ,
196
+ endColumn : 54
188
197
}
189
198
]
190
199
} ,
@@ -207,7 +216,10 @@ tester.run('define-emits-declaration', rule, {
207
216
errors : [
208
217
{
209
218
message : 'Use runtime declaration instead of type based declaration.' ,
210
- line : 3
219
+ line : 3 ,
220
+ column : 22 ,
221
+ endLine : 6 ,
222
+ endColumn : 13
211
223
}
212
224
]
213
225
} ,
@@ -231,12 +243,18 @@ tester.run('define-emits-declaration', rule, {
231
243
{
232
244
message :
233
245
'Use new type literal declaration instead of the old call signature declaration.' ,
234
- line : 4
246
+ line : 4 ,
247
+ column : 11 ,
248
+ endLine : 4 ,
249
+ endColumn : 42
235
250
} ,
236
251
{
237
252
message :
238
253
'Use new type literal declaration instead of the old call signature declaration.' ,
239
- line : 5
254
+ line : 5 ,
255
+ column : 11 ,
256
+ endLine : 5 ,
257
+ endColumn : 45
240
258
}
241
259
]
242
260
} ,
@@ -260,7 +278,10 @@ tester.run('define-emits-declaration', rule, {
260
278
{
261
279
message :
262
280
'Use new type literal declaration instead of the old call signature declaration.' ,
263
- line : 5
281
+ line : 5 ,
282
+ column : 11 ,
283
+ endLine : 5 ,
284
+ endColumn : 45
264
285
}
265
286
]
266
287
} ,
@@ -281,7 +302,10 @@ tester.run('define-emits-declaration', rule, {
281
302
{
282
303
message :
283
304
'Use new type literal declaration instead of the old call signature declaration.' ,
284
- line : 3
305
+ line : 3 ,
306
+ column : 34 ,
307
+ endLine : 3 ,
308
+ endColumn : 67
285
309
}
286
310
]
287
311
}
0 commit comments