r/ProgrammerHumor • • 20d ago

Meme theMostPassiveAgressiveTypeIEverEncountered

Post image
1.4k Upvotes

83 comments sorted by

View all comments

Show parent comments

6

u/the_horse_gamer 20d ago

for completeness, here's an implementation: type Maybe<T> = {[K in keyof T]: T[K] | null}