docs: remove implicit 'any' and 'Object' types from the docs (#19630)

* docs: remove implicit 'any' and 'Object' types from the docs

* docs: more docs improvements, remove all remaining empty interfaces

* chore: update tests for better types
This commit is contained in:
trop[bot]
2019-08-05 20:56:42 -07:00
committed by Shelley Vohr
parent c3013d2e9f
commit f154dbda40
23 changed files with 88 additions and 86 deletions

View File

@@ -129,7 +129,7 @@ app.on('ready', () => {
console.log('Debugger detached due to : ', reason)
})
mainWindow.webContents.debugger.on('message', function (event, method, params) {
mainWindow.webContents.debugger.on('message', function (event, method, params: any) {
if (method === 'Network.requestWillBeSent') {
if (params.request.url === 'https://www.github.com') {
mainWindow.webContents.debugger.detach()