8 lines
352 B
TypeScript
8 lines
352 B
TypeScript
|
|
import type { InjectionKey } from 'vue';
|
||
|
|
import type { RouteLocationNormalizedLoaded } from 'vue-router';
|
||
|
|
export interface LayoutMeta {
|
||
|
|
isCurrent: (route: RouteLocationNormalizedLoaded) => boolean;
|
||
|
|
}
|
||
|
|
export declare const LayoutMetaSymbol: InjectionKey<LayoutMeta>;
|
||
|
|
export declare const PageRouteSymbol: InjectionKey<RouteLocationNormalizedLoaded>;
|