Skip to content

API DocumentationDocs


API Documentation / pinia / DefineStoreOptionsBase

Interface: 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.