Skip to content

Commit e10f4df

Browse files
committed
Fix test
1 parent 43ddbb4 commit e10f4df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: test/vue3/fixture/diagnostics/emitTypeValidation/ParentRight.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ export default defineComponent({
1717
PropertyChild
1818
},
1919
setup() {
20-
const onNull = (a: any) => {}
20+
const onNull = (_a: any) => {}
2121
const onNon = () => {}
22-
const onOne = (a: string) => {}
23-
const onTwo = (a: boolean, b: string[]) => {}
24-
const onRest = (a: string, ...args: number[]) => {}
25-
const onFoo = (a: number | boolean) => {}
26-
const onBar = (a?: number) => {}
22+
const onOne = (_a: string) => {}
23+
const onTwo = (_a: boolean, _b: string[]) => {}
24+
const onRest = (_a: string, ..._args: number[]) => {}
25+
const onFoo = (_a: number | boolean) => {}
26+
const onBar = (_a?: number) => {}
2727
2828
return {
2929
onNull,

0 commit comments

Comments
 (0)