mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
Upgraded to 5.8 and bumped all type definitions. Enabled erasable syntax only flag and got rid from one case in expression editor.
34 lines
1.0 KiB
JSON
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"
|
|
}
|
|
}
|