this post was submitted on 05 Jan 2024
213 points (97.3% liked)

Programmer Humor

19570 readers
1257 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. ๐Ÿฆ† Not sure how patient that would be at listening to me explaining code though. ๐Ÿค”

you are viewing a single comment's thread
view the rest of the comments
[โ€“] jwt@programming.dev 8 points 10 months ago (2 children)

Ah typescript properties possibly undefined, eh? My advice would be to sprinkle some more question marks on your code.

[โ€“] isti115@lemmy.world 7 points 10 months ago* (last edited 10 months ago)

Thanks for the advice, but lo and behold, the issue was actually caused by a newly introduced generic parameter not being defined after a dependency update. ๐Ÿ™ƒ Oh, the wonders of the JS/TS ecosystem...

[โ€“] mrkite@programming.dev 2 points 10 months ago

Nah.. wrap entire templates in @if statements.