type-tls
Version:
type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等
21 lines (12 loc) • 444 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [type-tls](./type-tls.md) > [TwoLayerPartial](./type-tls.twolayerpartial.md)
## TwoLayerPartial type
将 T 及其对象成员属性值都改为 Partial 类型
**Signature:**
```typescript
export type TwoLayerPartial<T> = {
[P in keyof T]?: Partial<T[P]>;
};
```
## Remarks
比 Partial 又深入的一层