290 places the type-check could not see into, mostly parameters, now typed with web/src/types.ts (feeds, items, files, accounts, log lines, the directory's rows and items). Two changes run differently in form only: the seek and volume inputs divide Number(value) where they divided the string, and esc's table has a name. Null checks are #236. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
662 B
JSON
20 lines
662 B
JSON
{
|
|
// Type-checks web/src (npx tsc). Nothing is emitted: web/build.mjs does that with swc.
|
|
// The files are one script in one scope, not modules, which is why there are no imports.
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"lib": ["es2022", "dom", "dom.iterable"],
|
|
"noEmit": true,
|
|
// strict, a flag at a time (#235); strictNullChecks still to come, with a typed $ (#236).
|
|
"strict": false,
|
|
"noImplicitAny": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["web/src/*.ts"]
|
|
}
|