Page Contents

Home > @loopback/repository > ModelType > (constructor)

ModelType.constructor

Constructs a new instance of the ModelType class

Signature:

constructor(modelClass: Class<T>);

Parameters

Parameter Type Description
modelClass Class<T>