From 4fae66baed0f2a8f6f3d6e0454076c03bebb6cdf Mon Sep 17 00:00:00 2001 From: br0nstein Date: Tue, 6 Mar 2018 15:25:47 -0800 Subject: [PATCH] Fix getFocusedWindow return type --- docs/api/browser-window.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index e0d46834b6059..378fe78bae0be 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -587,7 +587,7 @@ Returns `BrowserWindow[]` - An array of all opened browser windows. #### `BrowserWindow.getFocusedWindow()` -Returns `BrowserWindow` - The window that is focused in this application, otherwise returns `null`. +Returns `BrowserWindow | null` - The window that is focused in this application, otherwise returns `null`. #### `BrowserWindow.fromWebContents(webContents)`