Open brecke opened 3 years ago
Adding
//@ts-check
at the top of a js file one can unlock the ability to interpret JSDoc as if it was typescript. This is really interesting from a developer ergonomics perspective.
https://jimmywarting.github.io/you-might-not-need-typescript/
Adding
//@ts-check
at the top of a js file one can unlock the ability to interpret JSDoc as if it was typescript. This is really interesting from a developer ergonomics perspective.