-
Notifications
You must be signed in to change notification settings - Fork 75
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
Typescript issue with @vue/composition-api > beta.6 #74
Comments
Need to test compat with 1.x of composition api, we're only testing up to 0.6 right now. https://github.com/Kong/swrv/blob/master/tests/test-compat-all.sh#L6 |
@blocka do you still have this issue? Do we need to return |
I have to first remember which project we had this issue on :) |
I still get this issue - |
@blocka @thetre97 maybe you could tell me how I could reproduce here since I am not sure how to get the same error: https://github.com/darrenjennings/swrv-playground |
Apologies, I should have said that I am actually using Nuxt + '@nuxtjs/composition-api'... So may be something to do with that. I can get the proper typings by doing something like If it's completely unrelated, I will remove my comments... |
After upgrading composition api, I'm getting the following issue:
I traced it down to the definition of
IResponse
removing the
?
makes it work again.it most likely has to do with vuejs/core#1682 which was implemented in beta.7
I couldn't see that any of the examples given fit this one, but perhaps this is another breaking example
The text was updated successfully, but these errors were encountered: