-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathjsconfig.json
More file actions
27 lines (27 loc) · 1.01 KB
/
Copy pathjsconfig.json
File metadata and controls
27 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"//": "Type-checking ratchet for the vanilla-JS codebase. `npm run typecheck` runs tsc --noEmit over the include list; with checkJs off, ONLY files that opt in with a `// @ts-check` first-line pragma are type-checked (imports are still parsed for inference). Ratchet rule: new files get the pragma; when you bring an existing file clean, add `// @ts-check` to it — never remove the pragma from a file that has it. It already caught a real bug (elevenlabs.js reading voice_id off a camelCase SDK model).",
"compilerOptions": {
"target": "es2023",
"module": "nodenext",
"moduleResolution": "nodenext",
"checkJs": false,
"allowJs": true,
"noEmit": true,
"strict": false,
"strictNullChecks": false,
"skipLibCheck": true,
"resolveJsonModule": true,
"types": ["node"]
},
"include": [
"api/_lib/http.js",
"api/_lib/alerts.js",
"api/_lib/cache.js",
"api/_lib/sentry.js",
"api/_lib/elevenlabs.js",
"api/client-errors.js",
"api/status.js",
"api/cron/uptime-check.js",
"public/error-reporter.js"
]
}