chore: update to latest TypeScript (#32596)

This commit is contained in:
Milan Burda 2022-01-31 12:37:40 +01:00 committed by GitHub
parent 32ae67c873
commit db9ab80694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 15 additions and 69 deletions

View file

@ -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);
}
});
}