Browse Source

Update docs/api/base-window.md

Co-authored-by: David Sanders <[email protected]>
Jeremy Rose 2 years ago
parent
commit
30dac6851b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/base-window.md

+ 1 - 1
docs/api/base-window.md

@@ -14,7 +14,7 @@ module is emitted.
 
 ```javascript
 // In the main process.
-const { BaseWindow } = require('electron')
+const { BaseWindow, WebContentsView } = require('electron')
 
 const win = new BaseWindow({ width: 800, height: 600 })