storybook/docs/snippets/common/storybook-main-extend-ts-config.js.mdx
2020-10-20 23:07:04 +01:00

17 lines
300 B
Plaintext

```js
// .storybook/main.js
module.exports = {
stories: [],
addons: [],
typescript: {
reactDocgen: 'react-docgen-typescript',
reactDocgenTypescriptOptions: {
compilerOptions: {
allowSyntheticDefaultImports: false,
esModuleInterop: false,
},
}
}
};
```