@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NamespacedTimeSelector](./x-components.namespacedtimeselector.md)
## NamespacedTimeSelector type
Function type which receives the State and the Getters of the namespace [XStoreModule](./x-components.xstoremodule.md) to retrieve the time from there.
**Signature:**
```typescript
export type NamespacedTimeSelector<ModuleName extends XModuleName> = (storeModule: StoreModuleStateAndGetters<ModuleName>) => number;
```
**References:** [XModuleName](./x-components.xmodulename.md)<!-- -->, [StoreModuleStateAndGetters](./x-components.storemodulestateandgetters.md)