Skip to content

Commit

Permalink
add nodejs platform to typings file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian006 committed Oct 17, 2020
1 parent 2e89864 commit 3281693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/title-bar/typings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface MenuItem {
click?: (menu: MenuItem, browser: object | undefined, e: Event) => void;
}

export type Platform = 'win32' | 'linux' | 'darwin';
export type Platform = 'win32' | 'linux' | 'darwin' | NodeJS.Platform;

export interface ControlProps {
onMinimize?: () => void;
Expand Down

0 comments on commit 3281693

Please sign in to comment.