@empathyco/x-components
Version:
Empathy X Components
20 lines • 636 B
TypeScript
import type { Module } from 'vuex';
import type { RootXStoreState } from './store.types';
/**
* The type of the x module state has a property for each other sub-module assigned to `null`,
* so we can avoid re-executing getters every time
* the `store.registerModule` method is called.
*
* @internal
*/
export type XModuleState = {
[Key in keyof RootXStoreState['x']]: null;
};
/**
* The main module of the X Store. All of the other {@link XModule | XModules} will be
* registered as a sub-module of this one.
*
* @internal
*/
export declare const RootXStoreModule: Module<any, any>;
//# sourceMappingURL=x.module.d.ts.map