mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-03 20:54:07 +08:00
update: 去除没必要的declare
This commit is contained in:
4
types/router.d.ts
vendored
4
types/router.d.ts
vendored
@@ -54,7 +54,7 @@ type Component<T = any> =
|
|||||||
| (() => Promise<T>)
|
| (() => Promise<T>)
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
declare interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
|
interface AppRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
|
||||||
name: string
|
name: string
|
||||||
meta: RouteMeta
|
meta: RouteMeta
|
||||||
component?: Component | string
|
component?: Component | string
|
||||||
@@ -64,7 +64,7 @@ declare global {
|
|||||||
keepAlive?: boolean
|
keepAlive?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
declare interface AppCustomRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
|
interface AppCustomRouteRecordRaw extends Omit<RouteRecordRaw, 'meta'> {
|
||||||
icon: any
|
icon: any
|
||||||
name: string
|
name: string
|
||||||
meta: RouteMeta
|
meta: RouteMeta
|
||||||
|
Reference in New Issue
Block a user