flow typings for Vue packages.
vuex- full support via@vue-flow-typed/vuexvue-router- full support via@vue-flow-typed/vue-router
You need to install every package independently. They are all published under @vue-flow-typed organization.
Check out this project template if you don't know how to start.
There are some problems we can not fix for now:
flowdoes not allow to extend existing library definitions. So we can not extendVueinstances to have$storewhenvuexis installedflowdoes not allow to annotatethis. So, we can not specify some types for someVueinternals, like$nextTickand others- This typing are not yet good enough to be submitted to
flow-typed. However, we will do it one day
See issues for other known problems.
Please, read CONTRIBUTING.md before starting.
MIT.