Vue 3 + TS: fix for config.globalProperties services
parent
97bcf12331
commit
704cc8af50
|
@ -11,4 +11,10 @@ declare module 'vue/types/vue' {
|
|||
interface Vue {
|
||||
$confirm: ConfirmationServiceMethods;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$confirm: ConfirmationServiceMethods;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,3 +14,8 @@ declare module 'vue/types/vue' {
|
|||
}
|
||||
}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$toast: ToastServiceMethods;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue