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

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [DeepPartial](./repository.deeppartial.md)

## DeepPartial type

An extension of the built-in Partial<T> type which allows partial values in deeply nested properties too.

<b>Signature:</b>

```typescript
export declare type DeepPartial<T> = Partial<T> | {
    [P in keyof T]?: DeepPartial<T[P]>;
};
```
<b>References:</b> [DeepPartial](./repository.deeppartial.md)


