aral, Want strong typing without a build process?
(Hint: you don’t need to use TypeScript.)
Use a modern editor like Helix Editor or VSCodium that supports the TypeScript Language Server (LSP).
Add this line to the top of your JavaScript file (without the backticks, if you see any):
// @ts-check
- Go read up on JSDoc ;)
¹ https://helix-editor.com
² https://jsdoc.app/about-getting-started.html#javaScript #typeSafety #JSDoc #lsp #HelixEditor #typeScript #web #dev
Add comment