You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment ComponentInternalInstance is only exported by vue3 not by the vue2 composition api. It is still in the typings. Also getCurrentInstance returns this type but it's not exported by the composition api.
I wanted to ask if has been done for a reason and if not if it could be added?
The text was updated successfully, but these errors were encountered:
I'd happily contribute and add this as soon as I find the time. Is there a contribution guide or should I just create a pull request.
[edit]
This was easier than expected. I also noticet that the compilation failed because of the __spread array not beeing exported by tslib. This was fixed in rollup-plugin-typescript2 v0.30.0 also I needed to update tslib to 2.2.0 (i had this issue on several projects by now).
My question for the pr would additionally be what version you want the pr to have (of course this question is obsolete if there is a guide which answers all of that)
[/edit]
At the moment ComponentInternalInstance is only exported by vue3 not by the vue2 composition api. It is still in the typings. Also getCurrentInstance returns this type but it's not exported by the composition api.
I wanted to ask if has been done for a reason and if not if it could be added?
The text was updated successfully, but these errors were encountered: