mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
a0f25f78b6
When lib is explicitly set in tsconfig, TypeScript does not auto-include @types/node. Adding "types": ["node"] to both tsconfig.base.json and packages/mcp/tsconfig.json resolves errors for process, performance, etc.
15 lines
280 B
JSON
15 lines
280 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"composite": true,
|
|
"sourceMap": true
|
|
},
|
|
"include": ["src/**/*"]
|
|
}
|