Skip to content

API Documentation / pinia / DefineStoreOptionsBase

Interface: DefineStoreOptionsBase<S, Store>

pinia.DefineStoreOptionsBase

Options passed to defineStore() that are common between option and setup stores. Extend this interface if you want to add custom options to both kinds of stores.

Type parameters

NameType
Sextends StateTree
StoreStore

Hierarchy

Lançada sob a Licença MIT.

FREE WEEKEND
Unlimited access to Vue.js Developer Certification training
All theory, coding challenges, quizzes + mock exam!
Reserve Your Spot
23-24 August