fix(types): prevent shallowReactive marker from leaking into value unions#14493
fix(types): prevent shallowReactive marker from leaking into value unions#14493edison1105 wants to merge 1 commit intomainfrom
Conversation
📝 WalkthroughWalkthroughFixes a TypeScript typing issue where the ShallowReactive marker was leaking into union types, causing incorrect type errors. The marker type is changed from an optional boolean to a required never property, with corresponding unwrapping logic updates to correctly handle the new signature. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
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: |
311eca9 to
59d53ec
Compare
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
|
/ecosystem-ci run vuetify |
|
📝 Ran ecosystem CI: Open
|
close #14490
Summary by CodeRabbit