September 2022
Intermediate to advanced
410 pages
10h 7m
English
At this point, I think we have all the tools we need to start discussing TypeScript configuration.
Here’s our tsconfig.json file, which controls the configuration of the TypeScript compiler:
| | { |
| | "compilerOptions": { |
| | "declaration": false, |
| | "emitDecoratorMetadata": true, |
| | "experimentalDecorators": true, |
| | "lib": ["es2019", "dom"], |
| | "jsx": "react", |
| | "module": "es6", |
| | "moduleResolution": "node", |
| | "baseUrl": ".", |
| | "paths": { |
| | "*": ["node_modules/*", "app/packs/*"] |
| | }, |
| | "sourceMap": true, |
| | "target": "es2019", |
| | "noEmit": true, |
| | "allowSyntheticDefaultImports": true |
| | }, |
| | "exclude": ["**/*.spec.ts", "node_modules" ... |