From e87df6439f53f628b938145fa3e9531c16b6bc0d Mon Sep 17 00:00:00 2001 From: puhui999 Date: Mon, 27 Mar 2023 10:35:49 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=8E=BB=E9=99=A4=E6=B2=A1=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84declare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/router.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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