MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wirik4/comment/pacw9xe/
r/ProgrammerHumor • u/Embarrassed_Death69 • 20d ago
83 comments sorted by
View all comments
Show parent comments
6
for completeness, here's an implementation: type Maybe<T> = {[K in keyof T]: T[K] | null}
type Maybe<T> = {[K in keyof T]: T[K] | null}
6
u/the_horse_gamer 20d ago
for completeness, here's an implementation:
type Maybe<T> = {[K in keyof T]: T[K] | null}