Skip to content

Complete guide to

Mastering Pinia

written by its creator

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.

Type parameters

NameType
Sextends StateTree
StoreStore

Hierarchy

Translated by pinia.vuejs.kr