---
lang: en
title: 'API docs: repository.constructor'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.constructor.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [Constructor](./repository.constructor.md)

## Constructor type

Constructor type - class or function

<b>Signature:</b>

```typescript
export declare type Constructor<T> = Class<T> | ConstructorFunction<T>;
```
<b>References:</b> [Class](./repository.class.md)<!-- -->, [ConstructorFunction](./repository.constructorfunction.md)


