优惠券 PC管理端 项目

tsconfig.json 954B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "compilerOptions": {
  3. "declaration": true,
  4. "target": "esnext",
  5. "module": "esnext",
  6. "strict": false,//启用所有严格类型检查选项。
  7. "jsx": "preserve",
  8. "moduleResolution": "node",
  9. "experimentalDecorators": true,
  10. "skipLibCheck": true,//忽略所有的声明文件( *.d.ts)的类型检查。
  11. "esModuleInterop": true,
  12. "allowSyntheticDefaultImports": true,
  13. "forceConsistentCasingInFileNames": true,
  14. "useDefineForClassFields": true,
  15. "sourceMap": true,//生成相应的 .map文件。
  16. "resolveJsonModule": true,
  17. "baseUrl": ".",
  18. "types": [
  19. "webpack-env"
  20. ],
  21. "paths": {
  22. "@/*": [
  23. "src/*"
  24. ]
  25. },
  26. "lib": [
  27. "esnext",
  28. "dom",
  29. "dom.iterable",
  30. "scripthost"
  31. ]
  32. },
  33. "include": [
  34. "src/**/*.ts",
  35. "src/**/*.tsx",
  36. "src/**/*.vue",
  37. "tests/**/*.ts",
  38. "tests/**/*.tsx"
  39. ],
  40. "exclude": [
  41. "node_modules"
  42. ]
  43. }