Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

How to use types in Store files? #15

Open
ux-engineer opened this issue May 12, 2019 · 1 comment
Open

How to use types in Store files? #15

ux-engineer opened this issue May 12, 2019 · 1 comment

Comments

@ux-engineer
Copy link

In store example file there is this cast as any: (this as any).$axios.$get(...

How to correctly use typings in actions, and store in general?

@ux-engineer ux-engineer changed the title Action type for Nuxt context How to use types in Store files? May 12, 2019
@ux-engineer
Copy link
Author

For anyone interested, this was a great quick primer (not free, trial available) on the topic. However Nuxt has it's context, so it would great if the core team would address this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant