---
lang: en
title: 'API docs: repository.repositorydecorator'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.repositorydecorator.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [RepositoryDecorator](./repository.repositorydecorator.md)

## RepositoryDecorator type

Type definition for decorators returned by `@repository` decorator factory

<b>Signature:</b>

```typescript
export declare type RepositoryDecorator = (target: Object, key?: string, descriptorOrIndex?: TypedPropertyDescriptor<any> | number) => void;
```

