知食记
⌘
Ctrl
k
For the complete documentation index, see
llms.txt
. This page is also available as
Markdown
.
复制
在本页
🎉JavaScript
Typescript
使用
Partial
复制
type
Partial
<
T
>
=
{
[
P
in
keyof
T
]
?:
T
[
P
]
};
Partial 就是将传入的属性全部变为可选项.
上一页
in
下一页
DeepPartial
最后更新于
6年前