this post was submitted on 05 Jan 2024
215 points (97.4% liked)
Programmer Humor
19692 readers
74 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ah typescript properties possibly undefined, eh? My advice would be to sprinkle some more question marks on your code.
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...
Nah.. wrap entire templates in
@if
statements.