| { |
| "compilerOptions": { |
| "jsx": "preserve", |
| |
| /* Language and Environment */ |
| "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| "module": "commonjs", /* Specify what module code is generated. */ |
| "rootDir": "./src", /* Specify the root folder within your source files. */ |
| "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */ |
| "paths": { |
| "common/*": [ |
| "src/common/*" |
| ], |
| "@/*": [ |
| "src/*" |
| ] |
| }, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
| "sourceMap": true, |
| "noImplicitReturns": true, |
| "importHelpers": true, |
| "noUnusedLocals": true, |
| "noFallthroughCasesInSwitch": true, |
| "noUnusedParameters": true, |
| "noEmit": true, |
| "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ |
| "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
| /* Type Checking */ |
| "strict": true, /* Enable all strict type-checking options. */ |
| "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| }, |
| } |