type
Nullable
‹
T
›
=
{
[
P
in
keyof T
]:
T
[
P
]
|
null
}
type
Partial
‹
T
›
=
{
[
P
in
keyof T
]?:
T
[
P
]
}