Best Practices using TypeScript with Node.js

npx tsc --init. @nebrius. Configuration with tsconfig.json. {. "compilerOptions". : {. "target". : "es2015". ,. "module". : "commonjs". ,. "strict". : true. ,. "rootDir". : "src".
展开查看详情