mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 21:26:15 -08:00
The ES2022 target moves from apps/electron-backend/tsconfig.json to tsconfig.app.json, so it applies to the main-process and preload build only. Compiling the Jest specs for ES2022 dropped the downleveled helpers from Istanbul's statement counts (downloads.events.ts: 126 -> 111 statements, 79 -> 71 covered, 62.69% -> 63.96%) and tripped the absolute minimumCovered ratchet in tools/coverage/coverage-policy.json without any coverage being lost. The shipped bundles are byte-identical either way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
584 B
JSON
24 lines
584 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "../../dist/out-tsc",
|
|
"types": ["node"],
|
|
"importHelpers": false,
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": false
|
|
},
|
|
"files": ["../../global.d.ts"],
|
|
"exclude": [
|
|
"**/*.spec.ts",
|
|
"**/*.spec-data.ts",
|
|
"**/*.test.ts",
|
|
"**/*.test-helpers.ts",
|
|
"jest.config.ts",
|
|
"src/**/*.spec.ts",
|
|
"src/**/*.spec-data.ts",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.test-helpers.ts"
|
|
],
|
|
"include": ["**/*.ts"]
|
|
}
|