-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.regressionscope: types
Description
Vue version
^3.5.0
Link to minimal reproduction
Steps to reproduce
- See
test.ts
What is expected?
No type errors
What is actually happening?
The new version of Ref with a getter + setter creates a Union in UnwrapRef
and UnwrapNestedRefs
, breaking existing types
System Info
No response
Any additional comments?
The issue cannot be seen in the playground since it always uses latest Vue for TS.
jh-leong
Metadata
Metadata
Assignees
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.regressionscope: types