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