Files
CherryHQ-cherry-studio/packages/ui/tsconfig.json
fullex 893fb19fde fix: resolve merge conflicts and migrate main branch code to v2 patterns
- Resolve merge conflicts in BackupManager.test.ts and base-popup.tsx
- Migrate SessionItem renamingTopics from Redux to useCache
- Migrate BasicDataSettings from antd/Redux to @cherrystudio/ui/usePreference
- Remove unused imports (useLocation, RootState, getBackupData)
- Fix await-thenable warnings (dialog.showErrorBox, getCurrentConfig, messageToPlainText)
- Remove deprecated baseUrl from packages/ui/tsconfig.json
- Fix duplicate import in apiServer/utils/index.ts

Signed-off-by: fullex <0xfullex@gmail.com>
2026-03-22 22:38:59 -07:00

30 lines
853 B
JSON

{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2021"],
"module": "ESNext",
"moduleResolution": "bundler",
"noFallthroughCasesInSwitch": true,
"outDir": "./dist",
"paths": {
"@cherrystudio/ui": ["./src/index.ts"],
"@cherrystudio/ui/*": ["./src/*"]
},
"resolveJsonModule": true,
"rootDir": ".",
"skipLibCheck": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"target": "ES2020"
},
"exclude": ["node_modules", "dist", "**/*.test.*", "**/__tests__/**"],
"include": ["src/**/*", "stories/components/**/*", "scripts/**/*"]
}