---
lang: en
title: 'API docs: repository.defaulthasmanythroughrepository.gettargetrepository'
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.defaulthasmanythroughrepository.gettargetrepository.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [DefaultHasManyThroughRepository](./repository.defaulthasmanythroughrepository.md) &gt; [getTargetRepository](./repository.defaulthasmanythroughrepository.gettargetrepository.md)

## DefaultHasManyThroughRepository.getTargetRepository property

<b>Signature:</b>

```typescript
getTargetRepository: Getter<TargetRepository>;
```

