{ "compilerOptions": { // Basic Options "target": "es6", // Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. "module": "commonjs", // Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. "lib": [ "dom", // Required to access `window` "es2020" ], "jsx": "react", // Specify JSX code generation: 'preserve', 'react-native', or 'react'. "rootDir": "./", // Specify the root directory of input files. Use to control the output directory structure with --outDir. "strict": true, // Enable all strict type-checking options. "skipLibCheck": true, "noUnusedLocals": true, // Report errors on unused locals. "noUnusedParameters": true, // Report errors on unused parameters. "noImplicitReturns": true, // Report error when not all code paths in function return a value. "noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement. "moduleResolution": "node", // Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). "useUnknownInCatchVariables": false, "esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. "inlineSourceMap": true // Emit a single file with source maps instead of having a separate file. } }