diff --git a/resources/assets/vue/types/global.d.ts b/resources/assets/vue/types/global.d.ts index 8fd35e9d..9fb91ee6 100644 --- a/resources/assets/vue/types/global.d.ts +++ b/resources/assets/vue/types/global.d.ts @@ -3,7 +3,7 @@ export { }; declare global { interface Window { route: any; - Vapor: any; + Vapor: import('laravel-vapor').Vapor; pusher_key?: string; pusher?: any; LARAVEL_VAPOR_ENABLED?: boolean; diff --git a/resources/assets/vue/types/vue-augmentations.d.ts b/resources/assets/vue/types/vue-augmentations.d.ts index 4c8d1357..e106d662 100644 --- a/resources/assets/vue/types/vue-augmentations.d.ts +++ b/resources/assets/vue/types/vue-augmentations.d.ts @@ -1,14 +1,6 @@ import 'vue'; import '@vue/runtime-dom'; -declare global { - interface Window { - Vapor: { - asset(path: string): string; - }; - } -} - declare module 'vue' { interface ComponentCustomProperties { asset(path: string): string;