Skip to content

Commit

Permalink
chore: update to TypeScript@4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 5, 2022
1 parent 9bcd565 commit 47e3ec3
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@jest/globals": "workspace:*",
"@jest/test-utils": "workspace:*",
"@tsconfig/node10": "^1.0.8",
"@tsd/typescript": "~4.1.5",
"@tsd/typescript": "~4.2.4",
"@types/babel__core": "^7.0.0",
"@types/babel__generator": "^7.0.0",
"@types/babel__template": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"devDependencies": {
"@jest/test-utils": "^27.5.0",
"@tsd/typescript": "~4.1.5",
"@tsd/typescript": "~4.2.4",
"chalk": "^4.0.0",
"fast-check": "^2.0.0",
"immutable": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-circus/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// Used as type
import type {Circus} from '@jest/types';
import expect = require('expect');
import type expect = require('expect');

export const STATE_SYM = Symbol(
'JEST_STATE_SYMBOL',
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-globals/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import type {Jest} from '@jest/environment';
import type {Global} from '@jest/types';
import importedExpect = require('expect');
import type importedExpect = require('expect');

export declare const jest: Jest;

Expand Down
2 changes: 1 addition & 1 deletion packages/jest-jasmine2/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import type {AssertionError} from 'assert';
import type {Config} from '@jest/types';
import expect = require('expect');
import type expect = require('expect');
import type CallTracker from './jasmine/CallTracker';
import type Env from './jasmine/Env';
import type JsApiReporter from './jasmine/JsApiReporter';
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runner/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import Emittery = require('emittery');
import type Emittery = require('emittery');
import type {JestEnvironment} from '@jest/environment';
import type {
SerializableError,
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"chalk": "^4.0.0"
},
"devDependencies": {
"@tsd/typescript": "~4.1.5",
"@tsd/typescript": "~4.2.4",
"tsd-lite": "^0.5.1"
},
"publishConfig": {
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,7 @@ __metadata:
"@jest/globals": "workspace:*"
"@jest/test-utils": "workspace:*"
"@tsconfig/node10": ^1.0.8
"@tsd/typescript": ~4.1.5
"@tsd/typescript": ~4.2.4
"@types/babel__core": ^7.0.0
"@types/babel__generator": ^7.0.0
"@types/babel__template": ^7.0.0
Expand Down Expand Up @@ -2797,7 +2797,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jest/types@workspace:packages/jest-types"
dependencies:
"@tsd/typescript": ~4.1.5
"@tsd/typescript": ~4.2.4
"@types/istanbul-lib-coverage": ^2.0.0
"@types/istanbul-reports": ^3.0.0
"@types/node": "*"
Expand Down Expand Up @@ -4441,13 +4441,13 @@ __metadata:
languageName: node
linkType: hard

"@tsd/typescript@npm:~4.1.5":
version: 4.1.5
resolution: "@tsd/typescript@npm:4.1.5"
"@tsd/typescript@npm:~4.2.4":
version: 4.2.4
resolution: "@tsd/typescript@npm:4.2.4"
bin:
tsc: typescript/bin/tsc
tsserver: typescript/bin/tsserver
checksum: 6f1f27ca5a67f30600c0da7c62ccf915374049a785660913cdbec45ab99dc2f0e1cfa1606cbc043b313cdff20424c0404a94685143e99ed58105efd0cab94df4
checksum: c1233aafaf7fe0f2891e19678f239d237590684a27684110f1d27aa1212170d5d4ac3c15ca2378e4142c6f570c96863adae1cff737c9a41586b518081a0e77dd
languageName: node
linkType: hard

Expand Down Expand Up @@ -9883,7 +9883,7 @@ __metadata:
dependencies:
"@jest/test-utils": ^27.5.0
"@jest/types": ^27.5.0
"@tsd/typescript": ~4.1.5
"@tsd/typescript": ~4.2.4
chalk: ^4.0.0
fast-check: ^2.0.0
immutable: ^4.0.0
Expand Down Expand Up @@ -20830,22 +20830,22 @@ react-native@0.64.0:
linkType: hard

"typescript@*, typescript@^4.0.2, typescript@^4.0.3":
version: 4.1.6
resolution: "typescript@npm:4.1.6"
version: 4.2.4
resolution: "typescript@npm:4.2.4"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 36cdaf5d69fe096d3644d01f163a62c9469065e23867e2d732f83a85e97e67a32644407bebb36e46d8bcc2c5c57d4b7a07f0701b591af038a5984b58a0664566
checksum: edaede2fa77f56b7fba80ee624a2368ab1216e75b0434d968ccb47ab0a5e2f6d94f848b3b111c1237dd71e988cd376af26370dcdad3b94355c76e759f0dd0a1e
languageName: node
linkType: hard

"typescript@patch:typescript@*#builtin<compat/typescript>, typescript@patch:typescript@^4.0.2#builtin<compat/typescript>, typescript@patch:typescript@^4.0.3#builtin<compat/typescript>":
version: 4.1.6
resolution: "typescript@patch:typescript@npm%3A4.1.6#builtin<compat/typescript>::version=4.1.6&hash=8133ad"
version: 4.2.4
resolution: "typescript@patch:typescript@npm%3A4.2.4#builtin<compat/typescript>::version=4.2.4&hash=8133ad"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 12e2121f1dd538030ec829e6d5ed8205c256f3b22269744140676deace23b559aa67d143676761a1780c14f70f16953d8ae850a344bee2f7d915e0bf6ca6943e
checksum: 1ca0d3b8dbeddb1e8bca7709f93bad34a1a763eb9cb0c13b4ec5b41dc3dc8cdef7608a4b687ecd9796c53862a22a314644d9ced82922f85dfd7054cf5e118cc9
languageName: node
linkType: hard

Expand Down

0 comments on commit 47e3ec3

Please sign in to comment.