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

@ -372,7 +372,7 @@ describe('contextBridge', () => {
try {
root.example();
} catch (e) {
return e.message;
return (e as Error).message;
}
});
expect(result).equal('oh no');