mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-22 22:29:30 +00:00
21 lines
833 B
JSON
21 lines
833 B
JSON
{
|
|
// Declaration output for the component package (`pnpm build:component:types`).
|
|
// The root tsconfig only type-checks; this one emits `.d.ts` files, and nothing
|
|
// else, for everything the component's entry point reaches. The layout under
|
|
// `dist/types` mirrors the repository (`component/index.d.ts`, `src/…`), which
|
|
// is what `package.json` points its `types` at.
|
|
"extends": "../tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"emitDeclarationOnly": true,
|
|
"declaration": true,
|
|
"declarationMap": false,
|
|
"rootDir": "..",
|
|
"outDir": "./dist/types"
|
|
},
|
|
// The entry points, plus the ambient declarations (CSS modules, `?react` SVGs,
|
|
// `import.meta.env`, …) that the sources they reach rely on.
|
|
"include": ["./index.tsx", "./api.ts", "../src/@types/*.d.ts"],
|
|
"exclude": []
|
|
}
|