diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index e0d46834b605..378fe78bae0b 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)`