New to TypeScript? Start Simple by Adding It to Your JavaScript Files
Activate TypeScript by adding // @ts-check at the top of your JavaScript file.
With TypeScript active, this will enable warnings and errors in your .js file. We immediately get the red squiggly lines, and upon hovering over the problematic code it ...
musman.hashnode.dev1 min read