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
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue