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.
14 lines
278 B
JSON
14 lines
278 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"lib": ["ES2022"],
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true
|
|
}
|
|
}
|