dump247 / storybook-state

Manage component state in React storybook.
MIT License
76 stars 17 forks source link

Remove @types/storybook__react? #25

Open johnryan opened 5 years ago

johnryan commented 5 years ago

Hi, I'm seeing these errors when using the latest storybook:

../node_modules/@dump247/storybook-state/index.d.ts(1,10): error TS2305: Module '"../../../../../../../../../Users/johnryan/Desktop/TrulyStuff/Code/mono/node_modules/@storybook/react/dist/client"' has no exported member 'Renderable'.
../node_modules/@dump247/storybook-state/index.d.ts(1,22): error TS2305: Module '"../../../../../../../../../Users/johnryan/Desktop/TrulyStuff/Code/mono/node_modules/@storybook/react/dist/client"' has no exported member 'RenderFunction'.

Based on: https://github.com/storybookjs/storybook/issues/8105 it seems like @types/storybook__react isn't needed anymore. Can someone confirm this is accurate? If so I'm happy to make a PR.

Thanks!

Dizotoff commented 4 years ago

Is there any workaround for this? @johnryan