Skip to content
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

CSF: Fix StoryObj<typeof Cmp> to work the same as old ComponentStoryObj #19651

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

kasperpeulen
Copy link
Contributor

Make StoryObj<typeof Cmp> work the same as ComponentStoryObj<typeof Cmp> did.
Otherwise, the deprecated ComponentStoryObj can not be fixed in a non-breaking way.

I found this issue when moving the templates to the renderer, so that we can run tsc against them 😅

How to test

  • Running: yarn task --task check --no-link

@shilman shilman changed the title Make StoryObj<typeof Cmp> work the same as ComponentStoryObj did CSF: Fix StoryObj<typeof Cmp> to work the same as old ComponentStoryObj Oct 27, 2022
@shilman shilman added the csf label Oct 27, 2022
@shilman shilman merged commit c3d86a2 into next Oct 27, 2022
@shilman shilman deleted the kasper/fix-storyobj-type branch October 27, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants