-
Notifications
You must be signed in to change notification settings - Fork 378
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(storybook): fix typescript v5 capability issue #4002
fix(storybook): fix typescript v5 capability issue #4002
Conversation
🦋 Changeset detectedLatest commit: cec5c47 The changes in this PR will be included in the next version bump. This PR includes changesets to release 216 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4002 +/- ##
==========================================
- Coverage 57.59% 57.37% -0.23%
==========================================
Files 672 645 -27
Lines 17794 17516 -278
Branches 3876 3833 -43
==========================================
- Hits 10249 10049 -200
+ Misses 6934 6843 -91
- Partials 611 624 +13 ☔ View full report in Codecov by Sentry. |
Summary
Fix the following error when using typescript v5 with storybook plugin:
Related issues:
🤖 Generated by Copilot at cec5c47
This pull request updates the
@modern-js/plugin-storybook
package to support typescript v5 and enable typescript docgen for storybook. It adds a new dependency, a changeset file, and a template configuration file.Details
🤖 Generated by Copilot at cec5c47
@modern-js/plugin-storybook
(link)react-docgen-typescript-plugin
dependency to@modern-js/plugin-storybook
(link)react-docgen-typescript-plugin
and fix typescript v5 compatibility (link)Related Issue
Checklist
pnpm run change
.