mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix getFocusedWindow return type (#12149)
This commit is contained in:
@@ -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)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user