Interface: Drivers
types/Drivers.Drivers
Properties
makeModuleFactory
• makeModuleFactory: (store
: any
) => ModuleFactory
Type declaration
▸ (store
): 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.
Parameters
Name | Type |
---|---|
store |
any |
Returns
Defined in
makeProxyFactory
• makeProxyFactory: (store
: any
) => StoreProxyFactory
Type declaration
▸ (store
): 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.
Parameters
Name | Type |
---|---|
store |
any |