{
   "compilerOptions": {
      "target": "ES2024",
      "useDefineForClassFields": true,
      "lib": ["ES2024", "DOM", "DOM.Iterable"],
      "module": "ESNext",
      "types": ["vite/client", "node"],
      "skipLibCheck": true,

      /* Bundler mode */
      "moduleResolution": "bundler",
      "allowImportingTsExtensions": true,
      "resolveJsonModule": true,
      "isolatedModules": true,
      "noEmit": true,
      "jsx": "react-jsx",

      /* Path aliases — TypeScript 6 中 paths 相对于 tsconfig 所在目录 */
      "paths": {
         "@/*": ["./src/*"],
         "@shared/*": ["./shared/*"]
      },

      /* Linting */
      "strict": true,
      "noUnusedLocals": true,
      "noUnusedParameters": true,
      "noFallthroughCasesInSwitch": true
   },
   "include": ["src", "shared"]
}
