this.$api is not recognized in typescript. #15924
Unanswered
lesjon
asked this question in
Ideas / Proposals
Replies: 1 comment 1 reply
-
what is this.$api? and how are you using it? maybe you should just export and import it or use provide inject, see vue docs about it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i'm using typescript and use the api. i execute requests with this.$api.get... but typescript does not know the type of this.$api.
Beta Was this translation helpful? Give feedback.
All reactions