Files
webstudio/packages/tsconfig/base.json
T
Bogdan Chadkin dd08852d43 build: upgrade typescript (#4991)
Upgraded to 5.8 and bumped all type definitions.
Enabled erasable syntax only flag and got rid from one case in
expression editor.
2025-03-13 11:21:00 +07:00

34 lines
1.0 KiB
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"module": "ES2022",
"target": "ES2022",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "bundler",
"customConditions": ["webstudio"],
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUncheckedSideEffectImports": true,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"strictBuiltinIteratorReturn": true,
"erasableSyntaxOnly": true,
"allowJs": false,
"jsx": "react-jsx",
"resolveJsonModule": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"emitDeclarationOnly": true,
"declaration": true,
// types should be generated to provide additional checks
// needed only for generation
// there is no other way to enable these checks
"declarationDir": "node_modules/.ws-typecheck-tmp"
}
}