makeMaker
makeMaker<
TComps
,TOpt
>(defaultOpt
,componentsApply
):MakerFN
<TOpt
,TComps
>
Make an object maker. This is used internally for makeObject, but we recommend using extendMaker instead if you want to mantain the base options.
Type parameters
Type parameter |
---|
TComps |
TOpt |
Parameters
Parameter | Type | Description |
---|---|---|
defaultOpt | OptionFN <TOpt > | The default options for the maker |
componentsApply | ApplierFN <TComps , TOpt > | - |
Returns
MakerFN
<TOpt
, TComps
>
Source
global.d.ts:11