chore: fix types

This commit is contained in:
CharleeWa 2024-07-19 15:44:50 +08:00
parent fc69c11ce1
commit c3f7a3b148
1 changed files with 9 additions and 9 deletions

View File

@ -1,9 +1,9 @@
import type { RouteLocationNormalized } from 'vue-router'
export interface EnhancedRouteLocation extends RouteLocationNormalized {
meta: {
level?: number | unknown
name?: string
keepAlive?: boolean
}
}
import type { RouteLocationNormalized } from 'vue-router'
export type EnhancedRouteLocation = RouteLocationNormalized & {
meta: {
level?: number | unknown
name?: string
keepAlive?: boolean
}
}