diff --git a/types/router.d.ts b/types/router.d.ts index 2dd807abc..32d944705 100644 --- a/types/router.d.ts +++ b/types/router.d.ts @@ -57,7 +57,7 @@ type Component = | (() => Promise) declare global { - declare interface AppRouteRecordRaw extends Omit { + declare interface AppRouteRecordRaw extends Omit { name: string meta: RouteMetaCustom component?: Component | string @@ -66,7 +66,8 @@ declare global { fullPath?: string } - declare interface AppCustomRouteRecordRaw extends Omit { + declare interface AppCustomRouteRecordRaw + extends Omit { name: string meta: RouteMetaCustom component: string