4 ms·
I'm working on a JS project for a client. I can't modify the deployment procedure so I can't add a build step and ts-node is no help because it's frontend. JSD
by kristiandupont 4y ago
I'm working on a JS project for a client. I can't modify the deployment procedure so I can't add a build step and ts-node is no help because it's frontend.
JSDoc comments can be checked with TSC and I get squiggly lines in VSCode. It's a major step in the right direction. Obviously tests work the same they always did, there is no runtime type checking just as there isn't in TS.
- schwartzworld 4y agoYou could build it before you check the code in.
- kristiandupont 4y agoI guess, but that seems at least as tedious as maintaining JSDoc comments to me.