tsconfig.base.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "compileOnSave": false,
  3. "compilerOptions": {
  4. "baseUrl": ".",
  5. "outDir": "./dist",
  6. "module": "commonjs",
  7. "declaration": true,
  8. "removeComments": true,
  9. "emitDecoratorMetadata": true,
  10. "experimentalDecorators": true,
  11. "allowSyntheticDefaultImports": true,
  12. "target": "ES2019",
  13. "sourceMap": true,
  14. "incremental": true,
  15. "skipLibCheck": true,
  16. "strictNullChecks": false,
  17. "noImplicitAny": false,
  18. "strict": true,
  19. "strictBindCallApply": false,
  20. "forceConsistentCasingInFileNames": false,
  21. "noFallthroughCasesInSwitch": false,
  22. "strictPropertyInitialization": false, // 👈 add this line
  23. "moduleResolution": "node",
  24. "esModuleInterop": true,
  25. "resolveJsonModule": true,
  26. "types": ["node"],
  27. "paths": {
  28. "@box/common/*": ["libs/common/src/*"],
  29. "@box/db/*": ["libs/db/src/*"],
  30. "@box/core/*": ["libs/core/src/*"],
  31. "@box/mgnt/*": ["apps/box-mgnt-api/src/*"],
  32. "@prisma/mysql/client": ["node_modules/@prisma/mysql/client/index.d.ts"],
  33. "@prisma/mongo/client": ["node_modules/@prisma/mongo/client/index.d.ts"]
  34. }
  35. }
  36. }