JSDoc types as a TypeScript alternative
You can get full TypeScript type checking in plain JavaScript files using JSDoc annotations. No build step, no compilation, just // @ts-check at the top of your file. Perfect for small projects where a full TS setup is overkill.