Files
sofa/apps/public-api/tsconfig.json
T
jakeandClaude Opus 5.5 4e4a4903f9 fix: resolve @types/bun when Vercel compiles public-api with TypeScript 7
With TypeScript 7, @vercel/node compiles via a temporary tsconfig in the OS
temp dir that extends the project config, so default type roots resolve
from that temp dir and `types: ["bun"]` fails with TS2688. Pin typeRoots
relative to the public-api tsconfig so they survive being extended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 15:00:21 -04:00

8 lines
166 B
JSON

{
"extends": "@sofa/tsconfig/base.json",
"compilerOptions": {
"typeRoots": ["./node_modules/@types", "../../node_modules/@types"]
},
"include": ["src"]
}