Skip to content

Commit

Permalink
chore: upgrade TypeScript to 4.1.5
Browse files Browse the repository at this point in the history
We were blocked on doing this because API Extractor didn't support it,
but now it does, so we can bump TS and the API tooling in one go. None
of the breaking changes in TS4 cause us any issues.
  • Loading branch information
jackfranklin committed Feb 16, 2021
1 parent 98c8145 commit 43b6193
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -69,8 +69,8 @@
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@microsoft/api-documenter": "7.9.7",
"@microsoft/api-extractor": "7.10.4",
"@microsoft/api-documenter": "^7.12.7",
"@microsoft/api-extractor": "^7.13.1",
"@types/debug": "0.0.31",
"@types/mime": "^2.0.0",
"@types/mocha": "^7.0.2",
Expand Down Expand Up @@ -107,7 +107,7 @@
"standard-version": "^9.0.0",
"text-diff": "^1.0.1",
"ts-node": "^9.0.0",
"typescript": "3.9.5"
"typescript": "^4.1.5"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion test/navigation.spec.ts
Expand Up @@ -613,7 +613,7 @@ describe('navigation', function () {
server.PREFIX + '/frames/one-frame.html'
);
const frame = await utils.waitEvent(page, 'frameattached');
await new Promise((fulfill) => {
await new Promise<void>((fulfill) => {
page.on('framenavigated', (f) => {
if (f === frame) fulfill();
});
Expand Down

0 comments on commit 43b6193

Please sign in to comment.