Vuex: Flow definitions

Created on 30 Oct 2016  路  10Comments  路  Source: vuejs/vuex

Are flow definitions planned for vuex?
The vue repo has definitions, so it would be great if vuex were to have them too.

enhancement

Most helpful comment

Yeah, I'm actually thinking about that. It's nice idea.
/cc @yyx990803

All 10 comments

Yeah, I'm actually thinking about that. It's nice idea.
/cc @yyx990803

+1 I'd like to see these as well

+1 here as well!

+1

+1

@ktsn feel free to go ahead!

I found this: https://github.com/carney520/vue-flow-definitions
Seems to have definitions for "vue2.x/vue-router/vuex"

What do you think about adding flow to the source itself? libdefs are much harder to maintain.

We'll be closing this issue due to inactivity.

Just for the record: here's the working set of definitions for vue@2, vuex and vue-router.
https://github.com/sobolevn/vue-flow-typed

It is not perfect, but works.

However, I recommend to use TypeScript instead.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gdelazzari picture gdelazzari  路  3Comments

jdittrich picture jdittrich  路  3Comments

blocka picture blocka  路  4Comments

ijse picture ijse  路  3Comments

james-wasson picture james-wasson  路  3Comments