Skip to content

Commit

Permalink
chore: bump TS to 3.7 (#9145)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Nov 10, 2019
1 parent d7a7b42 commit 129c200
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"slash": "^3.0.0",
"string-length": "^3.1.0",
"strip-ansi": "^5.0.0",
"typescript": "^3.6.2",
"typescript": "^3.7.2",
"webpack": "^4.28.4",
"which": "^2.0.1"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/jest-circus/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ export const getEachHooksForTest = (test: Circus.TestEntry) => {

do {
const beforeEachForCurrentBlock = [];
for (const hook of block.hooks) {
// TODO: inline after https://github.com/microsoft/TypeScript/pull/34840 is released
let hook: Circus.Hook;
for (hook of block.hooks) {
switch (hook.type) {
case 'beforeEach':
beforeEachForCurrentBlock.push(hook);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13653,10 +13653,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@*, typescript@^3.6.2:
version "3.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54"
integrity sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==
typescript@*, typescript@^3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.2.tgz#27e489b95fa5909445e9fef5ee48d81697ad18fb"
integrity sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==

ua-parser-js@^0.7.18:
version "0.7.20"
Expand Down

0 comments on commit 129c200

Please sign in to comment.