json
22 lines
891 Bytes
| 1 | { |
| 2 | "include": ["server"], // compile TS files in server directory |
| 3 | "compilerOptions": { |
| 4 | "module": "commonjs", // classic format that Node.js understands |
| 5 | "esModuleInterop": true, // allow imports of modules in ES format |
| 6 | "skipLibCheck": true, // only check types we refer to from our code |
| 7 | "forceConsistentCasingInFileNames": true, // prevents cross-OS problems |
| 8 | "resolveJsonModule": true, // enable import of JSON files |
| 9 | "lib": ["es6", "dom"], // use JavaScript API ES6 |
| 10 | "target": "es6", // compile to ES6 |
| 11 | "jsx": "react", // compile JSX to React.createElement statements for SSR |
| 12 | "allowJs": true, // allow import of JS modules |
| 13 | // enable strict type checking |
| 14 | "strict": true, |
| 15 | "strictNullChecks": true, |
| 16 | "noImplicitAny": true, |
| 17 | "typeRoots": [ |
| 18 | "./types", |
| 19 | "./node_modules/@types" |
| 20 | ], |
| 21 | } |
| 22 | } |