Files
payload/packages/translations/tsconfig.json
Alessio Gravili 13fc94dc4d chore: upgrade to TypeScript 5.7, ensure tsconfig targed and lib properties match the APIs we support (#9473)
TS 5.7 added support for ES2024. By keeping target: “esnext”, we would
have accidentally set our minimum supported ES version to ES2024.

This sets it to ES2022, which is the version supported by Node 18
2024-11-23 16:35:27 -07:00

20 lines
544 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true, // Make sure typescript knows that this module depends on their references
"esModuleInterop": true,
"resolveJsonModule": true,
"allowJs": true,
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
"rootDir": "./src",
"lib": [
"DOM",
"DOM.Iterable",
"ES2022"
],
"noEmit": false /* Do not emit outputs. */,
"emitDeclarationOnly": false
},
"include": ["src/**/*.ts", "src/**/*.js"]
}