Skip to main content

Function: makeModelFactory()

makeModelFactory<D>(baseConfig?, baseRawDefinition?): ModelFactory <ModelFlattenDefinition <ModelParsedDefinition<D>>>

Type parameters

D extends object = object

Parameters

baseConfig?: ModelConfig

baseRawDefinition?: D & ThisType <ModelInstance <ModelFlattenDefinition <ModelParsedDefinition<D>>>>

Returns

ModelFactory <ModelFlattenDefinition <ModelParsedDefinition<D>>>

Source

packages/core/src/model/makeModelFactory.ts:9