Skip to content

Instantly share code, notes, and snippets.

@ramandeep-singh-1983
Created January 18, 2019 08:22
Show Gist options
  • Save ramandeep-singh-1983/388f1c6e8387c76809bf8f783728c07a to your computer and use it in GitHub Desktop.
Save ramandeep-singh-1983/388f1c6e8387c76809bf8f783728c07a to your computer and use it in GitHub Desktop.
Sample tsconfig.json for a node.js server
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"sourceMap": true,
"outDir": "./dist",
"removeComments": true,
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": false,
"strictNullChecks": true,
"alwaysStrict": true,
/* Module Resolution Options */
"moduleResolution": "node",
"baseUrl": "./src",
"esModuleInterop": true
},
"include": [
"./src/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment