Skip to content

Commit 76f5d46

Browse files
chore(deps): bump typescript from 4.0.2 to 4.2.4 (#37)
1 parent f786e0e commit 76f5d46

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

examples/jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"jest": "^26.4.2",
99
"playwright": "^1.11.1",
1010
"screen-reader-testing-library": "^0.0.7",
11-
"typescript": "^4.0.2"
11+
"typescript": "^4.2.4"
1212
},
1313
"private": "true",
1414
"version": "1.0.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@changesets/cli": "^2.16.0",
2323
"jest": "^26.4.2",
2424
"prettier": "^2.3.0",
25-
"typescript": "^4.0.2"
25+
"typescript": "^4.2.4"
2626
},
2727
"prettier": {
2828
"useTabs": true

src/install.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ function downloadFile(url, destinationPath) {
297297
let reject = () => {};
298298

299299
const promise = new Promise((x, y) => {
300+
// @ts-expect-error -- void Promise
300301
fulfill = x;
301302
reject = y;
302303
});

src/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ export type Recorder = {
55
/**
66
* Returns the speech output since the last `start()`.
77
*/
8-
stop: () => Promise<string[][]>;
8+
stop: () => Promise<Speech>;
99
/**
1010
* Returns the speech output during the call to `fn`.
1111
*/
12-
record: (fn: () => Promise<void>) => Promise<string[][]>;
12+
record: (fn: () => Promise<void>) => Promise<Speech>;
1313
readable: () => Promise<boolean>;
1414
};
1515
/**

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5271,10 +5271,10 @@ typedarray-to-buffer@^3.1.5:
52715271
dependencies:
52725272
is-typedarray "^1.0.0"
52735273

5274-
typescript@^4.0.2:
5275-
version "4.0.2"
5276-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2"
5277-
integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==
5274+
typescript@^4.2.4:
5275+
version "4.2.4"
5276+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"
5277+
integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==
52785278

52795279
unicode-canonical-property-names-ecmascript@^1.0.4:
52805280
version "1.0.4"

0 commit comments

Comments
 (0)