chore: update to latest TypeScript (#32596)
This commit is contained in:
parent
32ae67c873
commit
db9ab80694
11 changed files with 15 additions and 69 deletions
|
@ -15,7 +15,7 @@ export class IpcMainImpl extends EventEmitter {
|
|||
try {
|
||||
e._reply(await Promise.resolve(fn(e, ...args)));
|
||||
} catch (err) {
|
||||
e._throw(err);
|
||||
e._throw(err as Error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue