UNPKG

@empathyco/x-components

Version:
21 lines (14 loc) 1.09 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XStoreModuleOptions](./x-components.xstoremoduleoptions.md) ## XStoreModuleOptions type Options for overriding a default [XStoreModule](./x-components.xstoremodule.md)<!-- -->. **Signature:** ```typescript export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModule extends XStoreModule<infer State, infer Getters, infer Mutations, infer Actions> ? { state?: DeepPartial<State>; actions?: DeepPartial<ActionsTree<State, Getters, Mutations, Actions>>; getters?: DeepPartial<GettersTree<State, Getters>>; mutations?: DeepPartial<MutationsTree<State, Mutations>>; } : never; ``` **References:** [AnyXStoreModule](./x-components.anyxstoremodule.md)<!-- -->, [XStoreModule](./x-components.xstoremodule.md)<!-- -->, [ActionsTree](./x-components.actionstree.md)<!-- -->, [GettersTree](./x-components.getterstree.md)<!-- -->, [MutationsTree](./x-components.mutationstree.md)