fix: types

This commit is contained in:
Fine 2023-07-11 15:38:01 +08:00
parent f03932d54a
commit 1c4f486856

11
src/types/app.d.ts vendored
View File

@ -47,15 +47,8 @@ export type EventParams = {
event: any;
};
export interface MenuOptions {
layer: string;
icon: string;
title: string;
activate: boolean;
name?: string;
path?: string;
export interface MenuOptions extends SubItem {
hasGroup?: boolean;
id?: string;
subItems: SubItem[];
}
@ -68,4 +61,6 @@ export interface SubItem {
path?: string;
notShow?: boolean;
id?: string;
description: string;
documentLink: string;
}