growing as a computer boy

This content was marked as sensitive. Click to reveal

@darius @nasser just use typescript, you write an interface and you load up your json as unknown and then you hold your breath and cast it to your type and hope you got it right! since y'know, it's coming from the outside world so there's no chance at all you got anything wrong.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Darius Kazemi
This content was marked as sensitive. Click to reveal

@jleedev @nasser it's the combo "is this lintable" and "just use typescript" that get me every time

0
2y
Replies