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
^ above feature has started to flag my custom directive 'v-c2' as an error
Property 'vC2' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ confirmationText: string; confirmText: string; cancelText: string; positionSelector: string; contentClass: "alert" | ... 1 more ... | "default"; ... 4 more ...; maxConfirmationStringLength: number; }> & Omit<...>; ... 11 more ...; $watch<T extends string |...'.ts-plugin(2339)
I am wondering if this is an issue with how I am creating and registering my custom directive? Is there a guide on how to register these directives with typescript?
I have disabled this 'checkUnknownDirectives' for now until I can figure it out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
#5141
^ above feature has started to flag my custom directive 'v-c2' as an error
Property 'vC2' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ confirmationText: string; confirmText: string; cancelText: string; positionSelector: string; contentClass: "alert" | ... 1 more ... | "default"; ... 4 more ...; maxConfirmationStringLength: number; }> & Omit<...>; ... 11 more ...; $watch<T extends string |...'.ts-plugin(2339)
I am wondering if this is an issue with how I am creating and registering my custom directive? Is there a guide on how to register these directives with typescript?
I have disabled this 'checkUnknownDirectives' for now until I can figure it out.
Beta Was this translation helpful? Give feedback.
All reactions