Files
Damien Retzinger 7f6945e30b fix(tsconfig): set ES2022 target for jest typechecking
resolve-check-config and setup-install set `types: ["jest"]`, which
excludes @types/node and the lib references it pulls in. With no explicit
`target`, ts-jest typechecks against the default ES5 lib, so modern
globals like `Object.entries` fail to resolve (TS2550) and the
resolve-check-config suite fails to compile.
2026-06-09 17:33:10 -04:00

10 lines
206 B
JSON

{
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true,
"typeRoots": ["../node_modules/@types"],
"types": ["jest"],
"target": "ES2022"
}
}