We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ddbb4 commit e10f4dfCopy full SHA for e10f4df
test/vue3/fixture/diagnostics/emitTypeValidation/ParentRight.vue
@@ -17,13 +17,13 @@ export default defineComponent({
17
PropertyChild
18
},
19
setup() {
20
- const onNull = (a: any) => {}
+ const onNull = (_a: any) => {}
21
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) => {}
+ 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) => {}
27
28
return {
29
onNull,
0 commit comments