From 4760733bbe39b547285894555754bae6539190f9 Mon Sep 17 00:00:00 2001 From: kailong321200875 <321200875@qq.com> Date: Mon, 25 Sep 2023 16:10:30 +0800 Subject: [PATCH] =?UTF-8?q?types:=20=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/router.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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