UNPKG

@loopback/docs

Version:
30 lines (19 loc) 743 B
--- lang: en title: 'API docs: repository.objecttype.(constructor)' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.repository.objecttype.(constructor).html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [ObjectType](./repository.objecttype.md) &gt; [(constructor)](./repository.objecttype.(constructor).md) ## ObjectType.(constructor) Constructs a new instance of the `ObjectType` class <b>Signature:</b> ```typescript constructor(type: Class<T>); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | type | <code>Class&lt;T&gt;</code> | |