@pinia/root / pinia / StoreOnActionListenerContext
StoreOnActionListenerContext<Id, S, G, A>
ts
type StoreOnActionListenerContext<Id, S, G, A> = _ActionsTree extends A ? _StoreOnActionListenerContext<StoreGeneric, string, _ActionsTree> : { [Name in keyof A]: Name extends string ? _StoreOnActionListenerContext<Store<Id, S, G, A>, Name, A> : never }[keyof A];Context object passed to callbacks of store.$onAction(context => {}) TODO: should have only the Id, the Store and Actions to generate the proper object
Type Parameters
Id
Id extends string
S
S extends StateTree
G
G
A
A

