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
| Name | Type |
|---|---|
S | extends StateTree |
Store | Store |
Hierarchy
DefineStoreOptionsBase
