Skip to content

Instantly share code, notes, and snippets.

@eemr3
Last active September 13, 2022 22:26
Show Gist options
  • Save eemr3/24b14fd54dd9a901efe6e7db04ddeac8 to your computer and use it in GitHub Desktop.
Save eemr3/24b14fd54dd9a901efe6e7db04ddeac8 to your computer and use it in GitHub Desktop.
Configuração para o TypeScript no NodeJs
{
"compilerOptions": {
"target": "es2018",
"lib": [
"es5",
"es6",
"ES2018"
],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"allowJs": true,
"outDir": "./dist",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"strictPropertyInitialization": false,
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist"
],
"ts-node": {
"files": true
}
}
@eemr3
Copy link
Author

eemr3 commented Sep 13, 2022

Mudar visibilidade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment