Skip to content

Commit e87df64

Browse files
author
puhui999
committed
update: 去除没必要的declare
1 parent c105f31 commit e87df64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/router.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type Component<T = any> =
5454
| (() => Promise<T>)
5555

5656
declare global {
57-
declare interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
57+
interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
5858
name: string
5959
meta: RouteMeta
6060
component?: Component | string
@@ -64,7 +64,7 @@ declare global {
6464
keepAlive?: boolean
6565
}
6666

67-
declare interface AppCustomRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
67+
interface AppCustomRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
6868
icon: any
6969
name: string
7070
meta: RouteMeta

0 commit comments

Comments
 (0)