chore: let result: ReturnType<typeof this._callWindowOpenHandler>; (#34628)

This commit is contained in:
Milan Burda 2022-06-21 03:39:41 +02:00 committed by GitHub
parent 2bbbc66eb8
commit 0f528c1e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -646,7 +646,7 @@ WebContents.prototype._init = function () {
disposition disposition
}; };
let result; let result: ReturnType<typeof this._callWindowOpenHandler>;
try { try {
result = this._callWindowOpenHandler(event, details); result = this._callWindowOpenHandler(event, details);
} catch (err) { } catch (err) {
@ -685,7 +685,7 @@ WebContents.prototype._init = function () {
postBody postBody
}; };
let result; let result: ReturnType<typeof this._callWindowOpenHandler>;
try { try {
result = this._callWindowOpenHandler(event, details); result = this._callWindowOpenHandler(event, details);
} catch (err) { } catch (err) {