Skip to content

Commit 47e3ec3

Browse files
committed
chore: update to TypeScript@4.2
1 parent 9bcd565 commit 47e3ec3

8 files changed

Lines changed: 20 additions & 20 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@jest/globals": "workspace:*",
1515
"@jest/test-utils": "workspace:*",
1616
"@tsconfig/node10": "^1.0.8",
17-
"@tsd/typescript": "~4.1.5",
17+
"@tsd/typescript": "~4.2.4",
1818
"@types/babel__core": "^7.0.0",
1919
"@types/babel__generator": "^7.0.0",
2020
"@types/babel__template": "^7.0.0",

packages/expect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"@jest/test-utils": "^27.5.0",
29-
"@tsd/typescript": "~4.1.5",
29+
"@tsd/typescript": "~4.2.4",
3030
"chalk": "^4.0.0",
3131
"fast-check": "^2.0.0",
3232
"immutable": "^4.0.0",

packages/jest-circus/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// Used as type
99
import type {Circus} from '@jest/types';
10-
import expect = require('expect');
10+
import type expect = require('expect');
1111

1212
export const STATE_SYM = Symbol(
1313
'JEST_STATE_SYMBOL',

packages/jest-globals/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import type {Jest} from '@jest/environment';
99
import type {Global} from '@jest/types';
10-
import importedExpect = require('expect');
10+
import type importedExpect = require('expect');
1111

1212
export declare const jest: Jest;
1313

packages/jest-jasmine2/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import type {AssertionError} from 'assert';
99
import type {Config} from '@jest/types';
10-
import expect = require('expect');
10+
import type expect = require('expect');
1111
import type CallTracker from './jasmine/CallTracker';
1212
import type Env from './jasmine/Env';
1313
import type JsApiReporter from './jasmine/JsApiReporter';

packages/jest-runner/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
import Emittery = require('emittery');
8+
import type Emittery = require('emittery');
99
import type {JestEnvironment} from '@jest/environment';
1010
import type {
1111
SerializableError,

packages/jest-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"chalk": "^4.0.0"
2828
},
2929
"devDependencies": {
30-
"@tsd/typescript": "~4.1.5",
30+
"@tsd/typescript": "~4.2.4",
3131
"tsd-lite": "^0.5.1"
3232
},
3333
"publishConfig": {

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ __metadata:
25922592
"@jest/globals": "workspace:*"
25932593
"@jest/test-utils": "workspace:*"
25942594
"@tsconfig/node10": ^1.0.8
2595-
"@tsd/typescript": ~4.1.5
2595+
"@tsd/typescript": ~4.2.4
25962596
"@types/babel__core": ^7.0.0
25972597
"@types/babel__generator": ^7.0.0
25982598
"@types/babel__template": ^7.0.0
@@ -2797,7 +2797,7 @@ __metadata:
27972797
version: 0.0.0-use.local
27982798
resolution: "@jest/types@workspace:packages/jest-types"
27992799
dependencies:
2800-
"@tsd/typescript": ~4.1.5
2800+
"@tsd/typescript": ~4.2.4
28012801
"@types/istanbul-lib-coverage": ^2.0.0
28022802
"@types/istanbul-reports": ^3.0.0
28032803
"@types/node": "*"
@@ -4441,13 +4441,13 @@ __metadata:
44414441
languageName: node
44424442
linkType: hard
44434443

4444-
"@tsd/typescript@npm:~4.1.5":
4445-
version: 4.1.5
4446-
resolution: "@tsd/typescript@npm:4.1.5"
4444+
"@tsd/typescript@npm:~4.2.4":
4445+
version: 4.2.4
4446+
resolution: "@tsd/typescript@npm:4.2.4"
44474447
bin:
44484448
tsc: typescript/bin/tsc
44494449
tsserver: typescript/bin/tsserver
4450-
checksum: 6f1f27ca5a67f30600c0da7c62ccf915374049a785660913cdbec45ab99dc2f0e1cfa1606cbc043b313cdff20424c0404a94685143e99ed58105efd0cab94df4
4450+
checksum: c1233aafaf7fe0f2891e19678f239d237590684a27684110f1d27aa1212170d5d4ac3c15ca2378e4142c6f570c96863adae1cff737c9a41586b518081a0e77dd
44514451
languageName: node
44524452
linkType: hard
44534453

@@ -9883,7 +9883,7 @@ __metadata:
98839883
dependencies:
98849884
"@jest/test-utils": ^27.5.0
98859885
"@jest/types": ^27.5.0
9886-
"@tsd/typescript": ~4.1.5
9886+
"@tsd/typescript": ~4.2.4
98879887
chalk: ^4.0.0
98889888
fast-check: ^2.0.0
98899889
immutable: ^4.0.0
@@ -20830,22 +20830,22 @@ react-native@0.64.0:
2083020830
linkType: hard
2083120831

2083220832
"typescript@*, typescript@^4.0.2, typescript@^4.0.3":
20833-
version: 4.1.6
20834-
resolution: "typescript@npm:4.1.6"
20833+
version: 4.2.4
20834+
resolution: "typescript@npm:4.2.4"
2083520835
bin:
2083620836
tsc: bin/tsc
2083720837
tsserver: bin/tsserver
20838-
checksum: 36cdaf5d69fe096d3644d01f163a62c9469065e23867e2d732f83a85e97e67a32644407bebb36e46d8bcc2c5c57d4b7a07f0701b591af038a5984b58a0664566
20838+
checksum: edaede2fa77f56b7fba80ee624a2368ab1216e75b0434d968ccb47ab0a5e2f6d94f848b3b111c1237dd71e988cd376af26370dcdad3b94355c76e759f0dd0a1e
2083920839
languageName: node
2084020840
linkType: hard
2084120841

2084220842
"typescript@patch:typescript@*#builtin<compat/typescript>, typescript@patch:typescript@^4.0.2#builtin<compat/typescript>, typescript@patch:typescript@^4.0.3#builtin<compat/typescript>":
20843-
version: 4.1.6
20844-
resolution: "typescript@patch:typescript@npm%3A4.1.6#builtin<compat/typescript>::version=4.1.6&hash=8133ad"
20843+
version: 4.2.4
20844+
resolution: "typescript@patch:typescript@npm%3A4.2.4#builtin<compat/typescript>::version=4.2.4&hash=8133ad"
2084520845
bin:
2084620846
tsc: bin/tsc
2084720847
tsserver: bin/tsserver
20848-
checksum: 12e2121f1dd538030ec829e6d5ed8205c256f3b22269744140676deace23b559aa67d143676761a1780c14f70f16953d8ae850a344bee2f7d915e0bf6ca6943e
20848+
checksum: 1ca0d3b8dbeddb1e8bca7709f93bad34a1a763eb9cb0c13b4ec5b41dc3dc8cdef7608a4b687ecd9796c53862a22a314644d9ced82922f85dfd7054cf5e118cc9
2084920849
languageName: node
2085020850
linkType: hard
2085120851

0 commit comments

Comments
 (0)