I followed the instructions to setup a typescript project in vscode and right off the bat I’m getting errors from typescript after creating the tsconfig it created.
When I run my web page in a browser I get an error:
Project:
Error:
The suggestions say to change module to “ES6”. As soon as I do that imports break and can’t be found.
So then it suggests I change to nodenext and I do that and the error in vscode goes away but the same error occurs in the browser!
It seems Typescript can’t export to client side Javascript with default settings.