From 556cd4b4af3d7ac1aa1c66848f5ab1bc33d13153 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Sun, 20 Sep 2020 18:57:10 +0200 Subject: [PATCH] fix(types): extend @vue/runtime-core module (#473) `declare module 'vue'` seems only to work if there is no other additional plugin --- src/globalExtensions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globalExtensions.ts b/src/globalExtensions.ts index d903b6e9..eba7082d 100644 --- a/src/globalExtensions.ts +++ b/src/globalExtensions.ts @@ -5,7 +5,7 @@ import { } from './types' import { Router } from './router' -declare module 'vue' { +declare module '@vue/runtime-core' { export interface ComponentCustomOptions { /** * Guard called when the router is navigating to the route that is rendering -- 2.47.3