Skip to main content

Function: makeComposable()

makeComposable<D>(rawDefinition?): ModelComposable <ModelParsedDefinition<D>>

Create a composable definition which will be used by a model factory.

Type parameters

D extends object = object

Parameters

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

Returns

ModelComposable <ModelParsedDefinition<D>>

Source

packages/core/src/model/makeComposable.ts:15