尝试解决一些ts的类型问题。
This commit is contained in:
20
code/web/task_schedule/src/router/index.d.ts
vendored
Normal file
20
code/web/task_schedule/src/router/index.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* @Author: Kane
|
||||
* @Date: 2023-03-26 23:30:16
|
||||
* @LastEditors: Kane
|
||||
* @FilePath: /task_schedule/src/router/index.d.ts
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
import { type RouteRecordNormalized, type RouteRecordRaw } from "vue-router";
|
||||
|
||||
export declare interface SideBarRouteRecordNormalized extends RouteRecordNormalized
|
||||
{
|
||||
hidden?: boolean;
|
||||
}
|
||||
|
||||
export declare let route: SideBarRouteRecordNormalized;
|
||||
|
||||
// export declare interface SideBarRouteRecordRaw extends RouteRecordRaw
|
||||
// {}
|
Reference in New Issue
Block a user