TypeScript-Node-Starter icon indicating copy to clipboard operation
TypeScript-Node-Starter copied to clipboard

`tsconfig.json` does not include correct libraries

Open borekb opened this issue 8 years ago • 0 comments
trafficstars

With the current setup, it's possible to put this into src/server.ts and it will compile fine:

window.alert('this is not valid in Node');

Normal solution is to put "lib": ["es2015"] into tsconfig.json but this causes many jQuery-related issues in this repo. I only wanted to take a quick look so am not sure about the details but wanted to quickly report this issue with types.

borekb avatar Oct 13 '17 12:10 borekb