Skip to content

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

ParameterTypeDescription
defaultOptOptionFN<TOpt>The default options for the maker
componentsApplyApplierFN<TComps, TOpt>-

Returns

MakerFN<TOpt, TComps>

Source

global.d.ts:11