-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Story types in favor of StoryFn #25341
Comments
It's unclear to me whether there is already a codemod for this, or how we expect users to migrate. |
Looks like there is already a codemod: |
8 tasks
I think the Angular framework was overlooked in PR #25477. It did not remove the |
Thanks @nkabrown ! |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following renderers need removal of the
Story
type in favor of theStoryFn
type:Web Components:
storybook/code/renderers/web-components/src/public-types.ts
Line 39 in e56998b
Server:
storybook/code/renderers/server/src/public-types.ts
Line 38 in e56998b
Preact:
storybook/code/renderers/preact/src/public-types.ts
Line 39 in e56998b
HTML:
storybook/code/renderers/html/src/public-types.ts
Line 39 in e56998b
Angular:
storybook/code/frameworks/angular/src/client/public-types.ts
Line 40 in e56998b
Vue3:
storybook/code/renderers/vue3/src/public-types.ts
Line 78 in 1c604e3
For React, there are more utility types which need removal:
Location:
storybook/code/renderers/react/src/public-types.ts
Line 126 in ef847b9
The text was updated successfully, but these errors were encountered: