For Storybook 8 the @storybook/types package doesn't seem to come implicitly from other storybook packages as a peer dependency, from this migration script it looks like the @storybook/types dependency needs to be added explicitly.
The @storybook/types package is not deprecated for Storybook 8 so this PR adds it as a peer dependency and its up to the parent project what version of the types to use.
For Storybook 8 the @storybook/types package doesn't seem to come implicitly from other storybook packages as a peer dependency, from this migration script it looks like the @storybook/types dependency needs to be added explicitly.
The @storybook/types package is not deprecated for Storybook 8 so this PR adds it as a peer dependency and its up to the parent project what version of the types to use.
Fixes #17