-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Codemods: Fix csf-2-to-3
ignores Typescript types
#20273
Codemods: Fix csf-2-to-3
ignores Typescript types
#20273
Conversation
4b27a40
to
60c05f1
Compare
I updated the logic to also convert import types to StoryObj, or Story to StoryFn. I also made sure that we preserve line breaks by using recast:
|
2322343
to
d782f3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. A few small comments
csf-2-to-3
ignores Typescript types
71774eb
to
584fb94
Compare
584fb94
to
1563de3
Compare
5ccdf00
to
49fd31a
Compare
Issue: #20219
What I did
How to test