Interface: Drivers
types/Drivers.Drivers
Properties
makeModuleFactory
• makeModuleFactory: (store: any) => ModuleFactory
The makeModuleFactory function should take the upstream library's store, whatever shape it may come in, and
create a function which allows you to add a module to this store, if given a
MakeModuleOptions object.
This function should return a function, which takes no arguments and returns nothing, that will remove the module from the store.
Type declaration
▸ (store): ModuleFactory
Parameters
| Name | Type |
|---|---|
store |
any |
Returns
Defined in
makeProxyFactory
• makeProxyFactory: (store: any) => StoreProxyFactory
The makeProxyFactory function should take the upstream library's store, whatever shape it may come in, and
create a function which builds a proxy BoundStore if given a
MakeModuleOptions object.
Type declaration
▸ (store): StoreProxyFactory
Parameters
| Name | Type |
|---|---|
store |
any |