You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See TypeScript error when trying to use @update:focused on the v-text-field component (see reproduction link)
This might be an issue with other component focused events too.
Expected Behavior
I expect the event type to be inferred correctly.
Actual Behavior
TypeScript/Volar is reporting the following issue:
Type '(focus: boolean) => void' is not assignable to type 'EventProp<[FocusEvent], (args_0: FocusEvent) => any> & ((focused: boolean) => any)'.
Type '(focus: boolean) => void' is not assignable to type '((args_0: FocusEvent) => any) & ((focused: boolean) => any)'.
Environment
Vuetify Version: 3.1.15
Last working version: 3.1.14
Vue Version: 3.2.47
Browsers: Chrome 112.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
Worked before this commit: 42c0b4d
@update:focused
on thev-text-field
component (see reproduction link)This might be an issue with other component focused events too.
Expected Behavior
I expect the event type to be inferred correctly.
Actual Behavior
TypeScript/Volar is reporting the following issue:
Using version v3.1.14:
Reproduction Link
https://play.vuetifyjs.com/#...
The text was updated successfully, but these errors were encountered: