mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-16 01:05:42 -04:00
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>
8 lines
166 B
JSON
8 lines
166 B
JSON
{
|
|
"extends": "@sofa/tsconfig/base.json",
|
|
"compilerOptions": {
|
|
"typeRoots": ["./node_modules/@types", "../../node_modules/@types"]
|
|
},
|
|
"include": ["src"]
|
|
}
|