why(e) gives a caught error's message; each catch read e.message as any. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
630 B
JSON
19 lines
630 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); noImplicitAny and strictNullChecks still to come.
|
|
"strict": false,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["web/src/*.ts"]
|
|
}
|