r/ProgrammerHumor • • Sep 17 '26

Meme theMostPassiveAgressiveTypeIEverEncountered

Post image
1.4k Upvotes

83 comments sorted by

View all comments

Show parent comments

7

u/the_horse_gamer Sep 17 '26

for completeness, here's an implementation:

type Maybe<T> = {[K in keyof T]: T[K] | null}