Skip to content

Commit

Permalink
Fix getFocusedWindow return type (electron#12149)
Browse files Browse the repository at this point in the history
  • Loading branch information
br0nstein authored and sethlu committed May 3, 2018
1 parent d6b532b commit 99c4bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/browser-window.md
Expand Up @@ -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)`

Expand Down

0 comments on commit 99c4bc4

Please sign in to comment.