Fix getFocusedWindow return type (#12149)

This commit is contained in:
br0nstein 2018-03-06 17:23:02 -08:00 committed by Charles Kerr
parent ea9d33374f
commit f170914def

View file

@ -587,7 +587,7 @@ Returns `BrowserWindow[]` - An array of all opened browser windows.
#### `BrowserWindow.getFocusedWindow()` #### `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)` #### `BrowserWindow.fromWebContents(webContents)`