fix(compiler-sfc): no params were generated when using withDefaults#12823
fix(compiler-sfc): no params were generated when using withDefaults#12823edison1105 merged 3 commits intovuejs:mainfrom
Conversation
Size ReportBundles
Usages
|
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
📝 WalkthroughWalkthroughThe changes fix a bug where Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
fix #12822
Summary by CodeRabbit
Bug Fixes
definePropsto properly preserve parameter lists in runtime prop definitions, ensuring complex default function signatures are accurately represented.Tests
definePropswith complex default function scenarios.