From 6fab283b0e6ab82ff8c2b6bd51cf5fc1aeb5565e Mon Sep 17 00:00:00 2001 From: Hannes Tiede <951466+toxsick@users.noreply.github.com> Date: Fri, 31 May 2024 12:42:54 +0200 Subject: [PATCH] chore: disable reactDocgen in storybook for now https://github.com/reactjs/react-docgen/issues/902 --- packages/config/storybook-config/main.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/config/storybook-config/main.ts b/packages/config/storybook-config/main.ts index 27ba6ba4..272c6352 100644 --- a/packages/config/storybook-config/main.ts +++ b/packages/config/storybook-config/main.ts @@ -38,6 +38,13 @@ const config: StorybookConfig = { docs: { autodocs: true, }, + // TEMP FIX: Attempted to resolveName for an unsupported path. resolveName does not accept ObjectMethod + // see: https://storybook.js.org/docs/api/main-config-typescript#reactdocgen + // see: https://github.com/storybookjs/storybook/issues/26652 + // see: https://github.com/reactjs/react-docgen/issues/902 + typescript: { + reactDocgen: false, + }, }; export default config;