{ "compilerOptions": { "target": "ES2020", "useDefineForClassFields": true, // ES2022 for Object.hasOwn: the code base uses it to test map membership // without walking the prototype chain. `target` stays at ES2020 — the API // is a runtime one, and every webview Tauri 2 supports has it. "lib": ["ES2022", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, "moduleResolution": "bundler", "allowImportingTsExtensions": true, "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "baseUrl": ".", "paths": { "@/*": ["src/*"] } }, "include": ["src"], "references": [{ "path": "./tsconfig.node.json" }] }