Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Jan 21, 2021
1 parent 43ddbb4 commit e10f4df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/vue3/fixture/diagnostics/emitTypeValidation/ParentRight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export default defineComponent({
PropertyChild
},
setup() {
const onNull = (a: any) => {}
const onNull = (_a: any) => {}
const onNon = () => {}
const onOne = (a: string) => {}
const onTwo = (a: boolean, b: string[]) => {}
const onRest = (a: string, ...args: number[]) => {}
const onFoo = (a: number | boolean) => {}
const onBar = (a?: number) => {}
const onOne = (_a: string) => {}
const onTwo = (_a: boolean, _b: string[]) => {}
const onRest = (_a: string, ..._args: number[]) => {}
const onFoo = (_a: number | boolean) => {}
const onBar = (_a?: number) => {}
return {
onNull,
Expand Down

0 comments on commit e10f4df

Please sign in to comment.