TypeScript tsconfig settings for Node.js 10?
As of Node.js 10.0.0, 100% of ES2018 is supported. If you know that you are targeting that version or newer, the optimal config would look like this: “module”: “commonjs” Node.js is on its way to add ES-Modules, but for now we’ll have to stick with CommonJS. “target”: “es2018” This tells TypeScript that it’s okay to … Read more