docs: fix documented return value for getFocusedWebContents (#33170)

This commit is contained in:
Kevin Ushey 2022-03-08 11:15:05 -08:00 committed by GitHub
parent a20216de7a
commit 3bc3896ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)`