Author refers to typescript code as “javascript,” considering the distinction no linger meaningful.
Perhaps a sign that it’s finally over, and typescript has won in the community.
Perhaps a sign that it’s finally over, and typescript has won in the community.
But actually:
> Ignoring the Typescript type definitions, its only 10 lines of Javascript!
So removing the types (JavaScript), it is 10 lines, but if you wanna write it in TypeScript it's 21 lines. Proof how verbose TypeScript can make codebases/examples?
I do see your point though. Typescript has taken off in the last few years.