Search
 
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
Name
9+8 =