平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tsconfig.json 1.5 KiB

4 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "useDefineForClassFields": true,
  5. "module": "ESNext",
  6. "moduleResolution": "Node",
  7. "types": ["vite/client", "element-plus/global"],
  8. /* Strict Type-Checking Options */
  9. "strict": true /* Enable all strict type-checking options. */,
  10. // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
  11. // "strictNullChecks": true, /* Enable strict null checks. */
  12. // "strictFunctionTypes": true, /* Enable strict checking of function types. */
  13. // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
  14. // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
  15. "noImplicitThis": false /* Raise error on 'this' expressions with an implied 'any' type. */,
  16. // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
  17. "jsx": "preserve",
  18. "resolveJsonModule": true,
  19. "isolatedModules": true,
  20. "esModuleInterop": true,
  21. "lib": ["ESNext", "DOM"],
  22. "skipLibCheck": true,
  23. "noEmit": true,
  24. "baseUrl": "./",
  25. "paths": {
  26. "@": ["src"],
  27. "@/*": ["src/*"]
  28. }
  29. },
  30. "include": [
  31. "src/**/*.ts",
  32. "src/**/*.d.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "build/**/*.ts",
  36. "build/**/*.d.ts",
  37. "vite.config.ts",
  38. "components.d.ts"
  39. ],
  40. "exclude": ["node_modules", "dist", "**/*.js"]
  41. }