Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
docs: fix documented return value for getFocusedWebContents (electron…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey authored and khalwa committed Feb 22, 2023
1 parent 7e7bfa6 commit 7f73703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/web-contents.md
Expand Up @@ -35,7 +35,7 @@ for all windows, webviews, opened devtools, and devtools extension background pa

### `webContents.getFocusedWebContents()`

Returns `WebContents` - The web contents that is focused in this application, otherwise
Returns `WebContents` | null - The web contents that is focused in this application, otherwise
returns `null`.

### `webContents.fromId(id)`
Expand Down

0 comments on commit 7f73703

Please sign in to comment.