-
-
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
fix: allow Flow syntax in stories #21859
Conversation
Hi @FezVrasta, Thank you so much for your contribution! It seems, that there are some Typescript related errors on your branch: https://github.com/storybookjs/storybook/actions/runs/4718179558/jobs/8367500690?pr=21859#step:4:437 |
I'm sorry I can't get eslint to work locally, it complains about the storybook preset missing even though it's installed. If someone else could fix the formatting errors and get this merged I'd be grateful. |
fix: allow Flow syntax in stories
Closes #21816
What I did
Improved the csf tools to use the typescript or flow parser depending by the file it's parsing.
How to test
Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:merged
orci:daily
GH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]