-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
types(reactivity): make Ref _shallow type public #2625
Conversation
you are not explaining why you need that... |
@posva I think I did, but never mind. I use |
You are only saying it I need it so I can omit a ts-expect-error in my own code but you should explain why accessing this internal property is necessary and why you can't do otherwise |
As I said I'm using Hopefully I explained clearly why I need it, and why I can't do otherwise. |
@posva Can we move this PR forward? |
You still haven't explained with a proper use case what can't be done currently and requires the exposing of an internal variable to do so. |
Thinking in this way, |
@posva I appreciate your help, but I really try my best 😅, if you still don't get it, maybe we can ask another one to review this PR? |
This will help to use @vue/reactivity standalone. Current I have to use
// @ts-expect-error
in my custom watch.https://github.com/vue-mini/vue-mini/blob/master/packages/wechat/src/watch.ts#L152