Skip to content

Commit

Permalink
chore: rebase main
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyxu1102 committed Sep 4, 2023
1 parent 416045d commit 0fec547
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/dts-test/defineComponent.test-d.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ describe('inject', () => {
expectType<unknown>(this.foo)
expectType<unknown>(this.bar)
// @ts-expect-error
expectError((this.foobar = 1))
this.foobar = 1
}
})

Expand All @@ -1075,7 +1075,7 @@ describe('inject', () => {
expectType<unknown>(this.foo)
expectType<unknown>(this.bar)
// @ts-expect-error
expectError((this.foobar = 1))
this.foobar = 1
}
})

Expand All @@ -1095,7 +1095,7 @@ describe('inject', () => {
expectType<unknown>(this.foo)
expectType<unknown>(this.bar)
// @ts-expect-error
expectError((this.foobar = 1))
this.foobar = 1
}
})

Expand All @@ -1104,9 +1104,9 @@ describe('inject', () => {
props: ['a', 'b'],
created() {
// @ts-expect-error
expectError((this.foo = 1))
this.foo = 1
// @ts-expect-error
expectError((this.bar = 1))
this.bar = 1
}
})
})
Expand Down

0 comments on commit 0fec547

Please sign in to comment.