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; event: any;
}; };
export interface MenuOptions { export interface MenuOptions extends SubItem {
layer: string;
icon: string;
title: string;
activate: boolean;
name?: string;
path?: string;
hasGroup?: boolean; hasGroup?: boolean;
id?: string;
subItems: SubItem[]; subItems: SubItem[];
} }
@ -68,4 +61,6 @@ export interface SubItem {
path?: string; path?: string;
notShow?: boolean; notShow?: boolean;
id?: string; id?: string;
description: string;
documentLink: string;
} }