mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
* 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
25 lines
644 B
JSON
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
|
|
}
|
|
}
|