{
  "compilerOptions": {
    "target": "ESNext",
    "useDefineForClassFields": true,
    "lib": ["DOM", "DOM.Iterable", "ESNext"],
    "allowJs": false,
    "skipLibCheck": true,
    "esModuleInterop": true, // Often helpful for broader library compatibility
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    // This line makes Vitest's global APIs (describe, it, expect) available everywhere
    // without needing to import them.
    "types": ["vitest/globals"]
  },
  // This is the most important part: It tells TypeScript to include ALL files
  // within the 'src' directory, including your new 'vite-env.d.ts' file.
  "include": ["src"],
  "references": [{ "path": "./tsconfig.node.json" }]
}
