DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript deep partial
type
DeepPartial
<
T
>
=
{
[
P
in
keyof
T
]
?
:
T
[
P
]
extends
object
?
DeepPartial
<
T
[
P
]
>
:
T
[
P
]
;
}
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#typescript
#deep
#partial
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit