Files
teleport/tsconfig.base.json
Grzegorz Zdunek 3d82a6efe4 Enable useUnknownInCatchVariables in TypeScript (#68996)
* Enable `useUnknownInCatchVariables`

* Add `isErrnoException`

* Switch from unsafe `error.message` access to `getErrorMessage`/`ensureError`

* Make `serializeError` idempotent

* `TypeError` -> `unknown`

* Simplify `isErrnoException`, require `code`

* Create `isPermissionDeniedError` utility

* Make `isPermissionDeniedError` inline helper
2026-07-31 09:01:36 +00:00

25 lines
644 B
JSON

{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"allowJs": true,
"useDefineForClassFields": true,
"esModuleInterop": true,
"importHelpers": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["dom", "dom.iterable", "esnext"],
"jsx": "react-jsx",
"strict": false,
"strictBindCallApply": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noEmitHelpers": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": false
}
}