mrcrowl / vuex-typex

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

Not working with optional parameters #7

Closed victorgarciaesgi closed 5 years ago

victorgarciaesgi commented 6 years ago

I have this mutation

showLogin(state: ILoginState, route?: string)

But a payload is required when a call it!

b12f commented 6 years ago

Is this still an issue? I'm currently deciding how to handle vuex with TypeScript and a response from the devs would be helpful.

victorgarciaesgi commented 6 years ago

Yes still an issue for me...

victorgarciaesgi commented 6 years ago

See my repo (Moving Mate)[https://github.com/victorgarciaesgi/Moving-Mate?files=1] I've implemented it and it's working well