Skip to content

Instantly share code, notes, and snippets.

@iamdanthedev
Created November 16, 2017 01:12
Show Gist options
  • Save iamdanthedev/b1b9bbd4b9fd12332ffe08301b30f491 to your computer and use it in GitHub Desktop.
Save iamdanthedev/b1b9bbd4b9fd12332ffe08301b30f491 to your computer and use it in GitHub Desktop.
tsconfig.ts paths
{
"compilerOptions": {
"target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"lib": ["dom", "es2017", "esnext"],
"module": "commonjs", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "noEmit": true, /* Do not emit outputs. */
"strict": true,
"strictFunctionTypes": false,
"noImplicitAny": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"jsx": "react",
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"paths": {
"@server/*": ["src/server/*"],
"@client/*": ["src/client/*"],
"@admin/*": ["src/admin/*"],
"@common/*": ["src/common/*"]
}
},
"exclude": [ "node_modules", "test" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment