-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Vue version
3.5.11
Link to minimal reproduction
Steps to reproduce
Essentially the same issue as reported here: vuejs/language-tools#4970 and was marked as upstream.
What is expected?
When using ref, if the given type is an array type of instances of a class with private properties, its type remains the same across it's usages.
What is actually happening?
When using ref with an array type, the iterable class type is unwrapped and it's private properties are lost, generating errors when that class type is expected, since they now do not match.
System Info
No response
Any additional comments?
No response