Skip to content

Commit 6fab283

Browse files
committed
chore: disable reactDocgen in storybook for now
reactjs/react-docgen#902
1 parent 624780e commit 6fab283

File tree

1 file changed

+7
-0
lines changed
  • packages/config/storybook-config

1 file changed

+7
-0
lines changed

packages/config/storybook-config/main.ts

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ const config: StorybookConfig = {
3838
docs: {
3939
autodocs: true,
4040
},
41+
// TEMP FIX: Attempted to resolveName for an unsupported path. resolveName does not accept ObjectMethod
42+
// see: https://storybook.js.org/docs/api/main-config-typescript#reactdocgen
43+
// see: https://github.com/storybookjs/storybook/issues/26652
44+
// see: https://github.com/reactjs/react-docgen/issues/902
45+
typescript: {
46+
reactDocgen: false,
47+
},
4148
};
4249

4350
export default config;

0 commit comments

Comments
 (0)