feat: 完成一大波类型修复, 虽然 any 很多

This commit is contained in:
claude-code-best
2026-03-31 23:43:39 +08:00
parent dd9cd782a7
commit 91f77ea571
55 changed files with 156 additions and 81 deletions

View File

@@ -136,7 +136,7 @@ async function isAppleTerminalBellDisabled(): Promise<boolean> {
// Lazy-load plist (~280KB with xmlbuilder+@xmldom) — only hit on
// Apple_Terminal with auto-channel, which is a small fraction of users.
const plist = await import('plist')
const parsed: Record<string, unknown> = plist.parse(defaultsOutput.stdout)
const parsed: Record<string, unknown> = plist.parse(defaultsOutput.stdout) as any
const windowSettings = parsed?.['Window Settings'] as
| Record<string, unknown>
| undefined