pinia-shared-state
pinia-shared-state copied to clipboard
Composition API and Typescript example
It'd be lovely to have an example on the Readme that works with the Pinia composition API and with Typescript.
Here's the relevant bit of the Pinia documentation https://pinia.vuejs.org/core-concepts/plugins.html#typescript
Adding the share
property makes Typescript rather unhappy at the moment.
Should work with latest versions now.