Miłosz Mandowski
Miłosz Mandowski
So I made a small library wich allows you to get fully typed store in actions and components. It also adds helpers that allow you to import rather than us...
@hxhieu you might be interested in a library that I wrote recently https://github.com/owlsdepartment/vuex-typed It has a helper like you proposed
> I just published a quick dev.to post about creating a `useStoreModule` composable! If you find this helpful @kiaking, I can create a PR? > > Article: https://dev.to/baryla/vue-3-vuex-4-usestoremodule-composable-1e83 > Gist:...
> Checks now pass, and would love to discuss with @ktsn or @octref, whenever someone is available - I'm sure I missed things about how these checks could be done...
I think it would be very useful to mention it in `plugins` section of docs, especially in the [`$subscribe` section](https://pinia.vuejs.org/core-concepts/plugins.html#calling-subscribe-inside-plugins) as if you develop a plugin and use `$subscribe` or...
@posva sure, created PR with docs update https://github.com/vuejs/pinia/pull/1781 👍
I tested it on my setup and it worked, but there is a problem with Drivers. `BasicValetDriver` has a line ```php $_SERVER['SERVER_ADDR'] = '127.0.0.1'; ``` that overrides server address, making...
It's connected with this https://vuejs.org/v2/guide/typescript.html#Annotating-Return-Types and issue with circular dependencies in TypeScript >= 3.4.x Even if you don't use TS, Vetur does and not annotating return type of computed kind...
@cerino-ligutom when the `return` is used, TypeScript wants to infer the return type of the computed `test` that depends on `this`, but `this` depends on also computed `test`, but `test`.......
I actually don't know. I never thought about it, but it's probably because `methods` and `computed` have different way of typing