Skip to content

Commit

Permalink
Merge pull request #78 from Cristian006/develop
Browse files Browse the repository at this point in the history
add nodejs platform to typings file
  • Loading branch information
Cristian006 authored Oct 17, 2020
2 parents ea689eb + 3281693 commit b5f5018
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 b5f5018

Please sign in to comment.