@mudssky/jsutils
Preparing search index...
DeepRecord
Type Alias DeepRecord<Obj>
DeepRecord
:
{
[
Key
in
keyof
Obj
]
:
Obj
[
Key
]
extends
Record
<
string
,
any
>
?
DeepRecord
<
Obj
[
Key
]
>
&
Record
<
string
,
any
>
:
Obj
[
Key
]
}
&
Record
<
string
,
any
>
递归给对象字面量类型,添加Record<string, any>,即每一层可以额外添加任意字段
Type Parameters
Obj
extends
Record
<
string
,
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mudssky/jsutils
Loading...
递归给对象字面量类型,添加Record<string, any>,即每一层可以额外添加任意字段