docs: fix devToolsWebContents union type (#23143)

This commit is contained in:
Shelley Vohr 2020-04-20 08:08:51 -07:00 committed by GitHub
parent 41b514f088
commit 656d371b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1843,7 +1843,7 @@ A [`WebContents`](web-contents.md) instance that might own this `WebContents`.
#### `contents.devToolsWebContents` _Readonly_
A `WebContents` of DevTools for this `WebContents`.
A `WebContents | null` property that represents the of DevTools `WebContents` associated with a given `WebContents`.
**Note:** Users should never store this object because it may become `null`
when the DevTools has been closed.