Skip to content

Instantly share code, notes, and snippets.

@AceroM
Created July 21, 2019 00:40
Show Gist options
  • Save AceroM/d46c3c65851c1baa1024f260e4a77194 to your computer and use it in GitHub Desktop.
Save AceroM/d46c3c65851c1baa1024f260e4a77194 to your computer and use it in GitHub Desktop.
personal typescript configuration
{
"compilerOptions": {
"noEmit": true,
"target": "esnext",
"module": "esnext",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"types": ["node", "webpack-env"],
"paths": {
"@/*": ["src/*"]
},
"lib": [
"es5",
"es2015",
"es2016",
"es2017",
"es2018",
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": ["node_modules"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment