Closed minht11 closed 4 months ago
After upgrading to vue-tsc 2.0.18 events fail with error message:
Type '($event: any) => void' is not assignable to type '() => any'. Target signature provides too few arguments. Expected 1 or more, but got 0.
Code is nothing special
const emit = defineEmits<(e: 'submit') => void>()
@submit="handler()"
Verified working version 2.0.7
Yeah, might be something similar? but now inline dynamic event handlers also seem to be expecting commas instead of semi-colons, which isn't correct unlike before
After upgrading to vue-tsc 2.0.18 events fail with error message:
Code is nothing special
Verified working version 2.0.7