Content pfp
Content
@
0 reply
0 recast
2 reactions

Nicholas Charriere pfp
Nicholas Charriere
@pushix
Another day, another TypeScript tip. More useful utility types: Partial and Omit.
6 replies
7 recasts
132 reactions

elboletaire 🗳️ pfp
elboletaire 🗳️
@elboletaire.eth
Useful utility: RecursivePartial export type RecursivePartial<T> = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P] }
0 reply
0 recast
1 reaction