mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: let result: ReturnType<typeof this._callWindowOpenHandler>; (#34628)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user