Skip to content

Commit

Permalink
Add CloneableMenuItem type
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Mar 29, 2021
1 parent 142ccaa commit 3dc5ded
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,13 @@ type SettingType = {

type Settings = { [k: string]: SettingType };

export { TabType, ThemeType, SettingType, Settings };
type CloneableMenuItem = {
commandId?: number;
accelerator?: string;
type?: string;
submenu?: CloneableMenuItem[];
label?: string;
id?: any;
};

export { TabType, ThemeType, SettingType, Settings, CloneableMenuItem };

0 comments on commit 3dc5ded

Please sign in to comment.