News for hackers. Stuff that matters.
Re:TypeScript Is Surprisingly OK for Compilers by tomp on Friday August 18, 2023 @11:49AM (#37177331)
This looks like plain JavaScript.

What does TypeScript add in this scenario?

Does the example above even pass typecheck?

Re:TypeScript Is Surprisingly OK for Compilers by usea on Friday August 18, 2023 @12:56PM (#37178523)
Yep. It's javascript, not typescript. Moreover, I think the post is only trying to convey that they like dynamic typing.