{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    /* Stories and tests pull in Storybook/Vitest globals that must never leak
       into the published .d.ts files, so the build program excludes them. */
    "types": [],
    /* Declaration portability is checked here rather than in tsconfig.json:
       this program is `src` only, so an unnameable type really would break the
       published .d.ts. See the note in tsconfig.json. */
    "declaration": true,
    /* tsup's declaration worker injects `baseUrl` into the compiler options on
       its own, and TypeScript 6 errors on it. We cannot remove what tsup adds,
       so the deprecation is acknowledged here instead. Revisit when tsup stops
       setting it. */
    "ignoreDeprecations": "6.0"
  },
  "include": ["src"],
  "exclude": [
    "src/**/*.stories.tsx",
    "src/**/*.stories.ts",
    "src/**/*.test.tsx",
    "src/**/*.test.ts"
  ]
}
