Skip to content

Instantly share code, notes, and snippets.

@ShayanTheNerd
Last active September 19, 2024 12:02
Show Gist options
  • Save ShayanTheNerd/fb0c07b470bc5f859c0d9e90ada8b6aa to your computer and use it in GitHub Desktop.
Save ShayanTheNerd/fb0c07b470bc5f859c0d9e90ada8b6aa to your computer and use it in GitHub Desktop.
TypeScript Configuration
{
"compilerOptions": {
"paths": {
"@ts/*": ["src/assets/ts/*"],
"@styles/*": ["src/assets/styles/*"],
"@components/*": ["src/components/*"]
},
"baseUrl": ".",
"strict": true,
"noEmit": true,
"checkJs": true,
"target": "ESNext",
"noImplicitAny": true,
"module": "NodeNext",
"noEmitOnError": true,
"removeComments": true,
"noImplicitReturns": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true,
"allowArbitraryExtensions": true,
"allowImportingTsExtensions": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment