Page Contents
Home > @loopback/repository > ModelDefinition > (constructor)
ModelDefinition.(constructor)
Constructs a new instance of the ModelDefinition
class
Signature:
constructor(nameOrDef: string | ModelDefinitionSyntax);
Parameters
Parameter | Type | Description |
---|---|---|
nameOrDef | string | ModelDefinitionSyntax |