Browse Source

docs: fix devToolsWebContents union type (#23171)

Co-authored-by: Shelley Vohr <[email protected]>
trop[bot] 5 years ago
parent
commit
653576448b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/web-contents.md

+ 1 - 1
docs/api/web-contents.md

@@ -1783,7 +1783,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.