diff --git a/types/router.d.ts b/types/router.d.ts index 10ba0c15..9b08b805 100644 --- a/types/router.d.ts +++ b/types/router.d.ts @@ -54,7 +54,7 @@ type Component = | (() => Promise) declare global { - declare interface AppRouteRecordRaw extends Omit { + interface AppRouteRecordRaw extends Omit { name: string meta: RouteMeta component?: Component | string @@ -64,7 +64,7 @@ declare global { keepAlive?: boolean } - declare interface AppCustomRouteRecordRaw extends Omit { + interface AppCustomRouteRecordRaw extends Omit { icon: any name: string meta: RouteMeta