From dd8b948709fec4875b7a7e57e79de1e93df71c7e Mon Sep 17 00:00:00 2001 From: Christopher Pappas Date: Fri, 28 May 2021 09:22:01 -0700 Subject: [PATCH] fix: [Storybooks] Fix deploy issue due to ts 2.3.x incompat --- .storybook/main.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.storybook/main.js b/.storybook/main.js index fcc789ba890..c97a06f3bd0 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,6 +1,13 @@ module.exports = { - stories: ["../src/**/*.story.tsx"], addons: ["@storybook/addon-links", "@storybook/addon-essentials"], + stories: ["../src/**/*.story.tsx"], + + typescript: { + // Disable docgeneration due to TypeScript 2.3.x incompatability. + // TODO: Fix this once https://github.com/styleguidist/react-docgen-typescript/issues/356 + // is addressed + reactDocgen: "none", + }, webpackFinal: async config => { config.stats = "errors-only"