From e1123de2364e5b8e40e077ff5445d2b21f2538f4 Mon Sep 17 00:00:00 2001 From: m7kvqbe1 <48086589+m7kvqbe1@users.noreply.github.com> Date: Tue, 1 Jun 2021 10:20:25 +0100 Subject: [PATCH] build(Storybook): Fix `typescript` to `4.2.2` https://github.com/styleguidist/react-docgen-typescript/issues/356 Storybook builds fail with the latest TypeScript release `4.3.2`. Resolving to an earlier stable release for now. --- package.json | 3 ++- yarn.lock | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 65374b95eb..e256768e9a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "eslint-plugin-prettier": "^3.1.2", "husky": "^6.0.0", "lerna": "^4.0.0", - "prettier": "^2.0.5" + "prettier": "^2.0.5", + "typescript": "4.2.2" }, "resolutions": { "**/**/bl": "^4.0.3", diff --git a/yarn.lock b/yarn.lock index 69391a3989..f4a2d6ebe2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23323,6 +23323,11 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= +typescript@4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c" + integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ== + typescript@^4.0.3, typescript@^4.1.2: version "4.3.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"