{ "compilerOptions": { "types": ["node", "static", "vitest", "webiny-env"], "target": "esnext", "skipLibCheck": true, "allowJs": true, "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "moduleResolution": "bundler", "module": "esnext", "lib": ["esnext", "dom", "dom.iterable"], "resolveJsonModule": true, "esModuleInterop": true, "declaration": true, "composite": true, "noEmit": false, // "jsx": "react-jsx", "jsx": "react", // "jsxImportSource": "react", "emitDeclarationOnly": true, "paths": { // For testing purposes (`webiny.config.tsx` and `/extensions`). "webiny/*": ["./packages/webiny/src/*"], "@/*": ["./*"] }, "typeRoots": ["./typings", "./node_modules/@types"], "isolatedModules": false, "noUnusedParameters": false, "noUnusedLocals": false, "noImplicitThis": true, "noImplicitReturns": true, "noImplicitAny": true, "noUncheckedIndexedAccess": false, "noFallthroughCasesInSwitch": true, "strictBindCallApply": true, "strictPropertyInitialization": true, "strictNullChecks": true, "strictFunctionTypes": true, "noImplicitOverride": true, "strict": true, "noPropertyAccessFromIndexSignature": false, "experimentalDecorators": true, "allowUnusedLabels": false, "allowUnreachableCode": false, "allowImportingTsExtensions": false, /** * Maybe switch to true at some point? There would need to be A LOT of error handling changes. * https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables */ "useUnknownInCatchVariables": false, /** * Setting to true will start producing TS errors that are inside libraries we use. * https://www.typescriptlang.org/tsconfig#exactOptionalPropertyTypes */ "exactOptionalPropertyTypes": false }, "exclude": ["node_modules", "packages/*/dist", "scripts/**", "**jest**", "packages/cli"] }