-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
First off all thanks for this great plugin, but the way it augments the $cookie
property breaks the rest of my augmented props and the ones from other libraries too.
Switching from:
declare module '@vue/runtime-core' {
export interface ComponentCustomProperties {
$cookie: IVueCookieNext
}
}
to
declare module 'vue' {
interface ComponentCustomProperties {
$cookie: IVueCookieNext
}
}
does the trick and seems to also conform with the recommended vue way.
https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties
Metadata
Metadata
Assignees
Labels
No labels