@@ -365,7 +365,6 @@ describe('GLOBAL_PRIVATE_UTIL', () => {
365
365
test ( 'defineReactive' , ( ) => {
366
366
toggleDeprecationWarning ( true )
367
367
const obj : any = { }
368
- // @ts -expect-error
369
368
Vue . util . defineReactive ( obj , 'test' , 1 )
370
369
371
370
let n
@@ -384,7 +383,6 @@ describe('GLOBAL_PRIVATE_UTIL', () => {
384
383
test ( 'defineReactive on instance' , async ( ) => {
385
384
const vm = new Vue ( {
386
385
beforeCreate ( ) {
387
- // @ts -expect-error
388
386
Vue . util . defineReactive ( this , 'foo' , 1 )
389
387
} ,
390
388
template : `<div>{{ foo }}</div>` ,
@@ -399,7 +397,6 @@ describe('GLOBAL_PRIVATE_UTIL', () => {
399
397
test ( 'defineReactive on instance with key that starts with $' , async ( ) => {
400
398
const vm = new Vue ( {
401
399
beforeCreate ( ) {
402
- // @ts -expect-error
403
400
Vue . util . defineReactive ( this , '$foo' , 1 )
404
401
} ,
405
402
template : `<div>{{ $foo }}</div>` ,
@@ -413,7 +410,6 @@ describe('GLOBAL_PRIVATE_UTIL', () => {
413
410
test ( 'defineReactive with object value' , ( ) => {
414
411
const obj : any = { }
415
412
const val = { a : 1 }
416
- // @ts -expect-error
417
413
Vue . util . defineReactive ( obj , 'foo' , val )
418
414
419
415
let n
@@ -429,7 +425,6 @@ describe('GLOBAL_PRIVATE_UTIL', () => {
429
425
test ( 'defineReactive with array value' , ( ) => {
430
426
const obj : any = { }
431
427
const val = [ 1 ]
432
- // @ts -expect-error
433
428
Vue . util . defineReactive ( obj , 'foo' , val )
434
429
435
430
let n
0 commit comments