News for hackers. Stuff that matters.
Re:TypeScript 3.6 by Ididntdothis on Wednesday August 28, 2019 @06:11PM (#20824575)
I am also starting to embrace a mix. “Any” in TS or “dynamic” in C# can save a lot of code when parsing JSON but then I usually quickly try to move over into the typed world.
Re:TypeScript 3.6 by tomtomau on Thursday August 29, 2019 @12:21AM (#20826661)
`unknown` is also a really convenient type too: https://www.typescriptlang.org/docs/handbook/release-notes/t...

I think of it as "I don't care what the type is, but I also shouldn't be able to do anything with it"