From 32816931cf8f8efdcc382fd2a6f4cf55b1268be6 Mon Sep 17 00:00:00 2001 From: Cristian Ponce Date: Fri, 16 Oct 2020 22:11:00 -0700 Subject: [PATCH] add nodejs platform to typings file --- src/title-bar/typings/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/title-bar/typings/index.ts b/src/title-bar/typings/index.ts index 12d60ab..7953b49 100644 --- a/src/title-bar/typings/index.ts +++ b/src/title-bar/typings/index.ts @@ -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;