{ "extends": "../tsconfig.base.json", "compilerOptions": { // "dom" is types-only here — the server runs on Node, but a couple of the // shared common/lib helpers we reuse (transcriptWindow → aiHandoff) carry a // type-only import of a browser component, which pulls DOM ambient globals // (window/indexedDB/…) into the type program. DOM lib satisfies those types // without changing what runs. "lib": ["esnext", "dom"], "types": ["node"], "baseUrl": ".", "paths": { "yt-dlp-transcript-common/*": ["../common/*"] } }, "include": ["src/**/*.ts"], "exclude": ["node_modules"] }