{
  "compilerOptions": {
    "target": "ES2017",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "react-jsx",
    "incremental": true,
    "plugins": [
      {
        "name": "next"
      }
    ],
    "paths": {
      "@/*": ["./src/*"],
      "@tiktok-shop-sdk/*": ["./packages/tiktok-shop-sdk/vendor/*"]
    }
  },
  "include": [
    "next-env.d.ts",
    "**/*.ts",
    "**/*.tsx",
    ".next/types/**/*.ts",
    ".next/dev/types/**/*.ts",
    "**/*.mts"
  ],
  // packages/tiktok-shop-sdk/vendor is TikTok's own generated SDK (2200+
  // files, not ours to maintain) — excluded as a *root* input so `tsc
  // --noEmit` doesn't scan the whole vendored tree, but files our adapter
  // actually imports via the @tiktok-shop-sdk/* alias are still pulled into
  // the program and type-checked normally (exclude only affects glob-based
  // root file discovery, not the import graph).
  "exclude": ["node_modules", "packages/tiktok-shop-sdk/vendor", "REFERENCIA"]
}
