Comment by whazor
2 years ago
I think there is something to say for only having typed libraries. Using a decent code editor, you could write JavaScript with most of the Typescript benefits coming via typings and inference.
It looks like Turbo is a solution where you don't have to write JavaScript. So Turbo maybe Turbo falls into that bucket as well?
But any JavaScript library has to have typings, even for the people who write JavaScript. Because otherwise their autocomplete does not work. I think libraries should have a higher bar anyways in general, for types, but also testing, documentation etcetera.
No comments yet
Contribute on Hacker News ↗