News for hackers. Stuff that matters.
Re:Tricks I wish I knew when I learned TypeScript by ketzo on Tuesday October 12, 2021 @12:55PM (#28842043)
Wow, the fact that `as const` has such a meaningful difference from a variable declared as `const` seems... not great.

Surely they could have gone with, like, `final` or `immutable` instead..? I'm sure they had their reasons. But seems rough.

There are no comments on this comment yet.