Fix getFocusedWindow return type (#12149)
This commit is contained in:
parent
ea9d33374f
commit
f170914def
1 changed files with 1 additions and 1 deletions
|
@ -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)`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue