Skip to content

API DocumentationDocs


API Documentation / pinia / StoreOnActionListener

Type Alias: StoreOnActionListener()<Id, S, G, A>

StoreOnActionListener<Id, S, G, A>: (context) => void

Argument of store.$onAction()

Type Parameters

Id extends string

S extends StateTree

G

A

Parameters

context: StoreOnActionListenerContext<Id, S, G, object extends A ? _ActionsTree : A>

Returns

void

Released under the MIT License.