mrcrowl / vuex-typex

Typescript builder for strongly-typed access to Vuex Store modules
MIT License
193 stars 22 forks source link

Use new guid as vuex handler name when missing? #3

Closed CumpsD closed 7 years ago

CumpsD commented 7 years ago

Currently there is this code: https://github.com/mrcrowl/vuex-typex/blob/master/src/index.ts#L173

Which checks if a handler has a name, and if it is a fat-arrow, you have to put a string yourself. It doesn't seem like it matters what you pass as a name, am I correct?

If this is the case, could we not put a new guid as the name instead of erroring out?

CumpsD commented 7 years ago

Nevermind, it screws up vue dev tools.