chore: let result: ReturnType<typeof this._callWindowOpenHandler>; (#34628)
This commit is contained in:
parent
2bbbc66eb8
commit
0f528c1e43
1 changed files with 2 additions and 2 deletions
|
@ -646,7 +646,7 @@ WebContents.prototype._init = function () {
|
|||
disposition
|
||||
};
|
||||
|
||||
let result;
|
||||
let result: ReturnType<typeof this._callWindowOpenHandler>;
|
||||
try {
|
||||
result = this._callWindowOpenHandler(event, details);
|
||||
} catch (err) {
|
||||
|
@ -685,7 +685,7 @@ WebContents.prototype._init = function () {
|
|||
postBody
|
||||
};
|
||||
|
||||
let result;
|
||||
let result: ReturnType<typeof this._callWindowOpenHandler>;
|
||||
try {
|
||||
result = this._callWindowOpenHandler(event, details);
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue