Typescript plugin options example no longer accurate #685
-
Updating to the latest version and rereading the docs, I came across this - https://pinia.esm.dev/core-concepts/plugins.html#typing-new-creation-options DefineStoreOptionsBase is now limited to only S and Store, which means the example, which uses the keys in the store's actions, no longer works since A is not defined.
Augmenting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It hasn't been updated yet but you have the same information as before using some type helpers like StoreActions. It's in my todo list already 🙂 |
Beta Was this translation helpful? Give feedback.
It hasn't been updated yet but you have the same information as before using some type helpers like StoreActions. It's in my todo list already 🙂