Skip to content

@pinia/root / pinia / DefineStoreOptionsBase

DefineStoreOptionsBase<S, Store> ​

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.

Extended by ​

Type Parameters ​

• S extends StateTree

• Store

Released under the MIT License.