Skip to content

Commit

Permalink
refactor(core): add @storybook/ui to typings
Browse files Browse the repository at this point in the history
We need to "fake" `@storybook/ui` types to be able to compile properly
`@storybook/core`. This is due to a dependency cycle causing `core` to be build at the same time as `ui`:
> lerna WARN ECYCLE Dependency cycles detected, you should fix these!
> lerna WARN ECYCLE @storybook/react -> @storybook/core -> @storybook/ui -> @storybook/react
  • Loading branch information
gaetanmaisse committed Oct 20, 2020
1 parent 380cdff commit f950906
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/core/src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ declare module '@storybook/theming/paths';
declare module '@storybook/ui/paths';
declare module 'file-system-cache';
declare module 'better-opn';
declare module '@storybook/ui';

0 comments on commit f950906

Please sign in to comment.