Function constructPojoSync
- constructPojoSync<Pojo, CtorInput>(CTorPropsSyncClass: (new (input?: CtorInput) => PojoConstructorSyncProps<Pojo, CtorInput>), pojoConstructorInput?: CtorInput, pojoConstructorOptions?: PojoConstructorSyncOptions<Pojo, CtorInput>): PojoHost<Pojo>
-
Type Parameters
-
Pojo extends object
-
CtorInput = unknown
Parameters
-
CTorPropsSyncClass: (new (input?: CtorInput) => PojoConstructorSyncProps<Pojo, CtorInput>)
-
Optional
pojoConstructorInput: CtorInput
-
Returns PojoHost<Pojo>
Wrapper for constructPojoFromInstance.
Instantiates
CTorPropsSyncClass
passingconstructPojoInput
to constructor.