mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -367,14 +367,14 @@ export async function persistFileSnapshotIfRemote(): Promise<void> {
|
||||
// Snapshot plan file
|
||||
const plan = getPlan()
|
||||
if (plan) {
|
||||
snapshotFiles.push({
|
||||
(snapshotFiles as any[]).push({
|
||||
key: 'plan',
|
||||
path: getPlanFilePath(),
|
||||
content: plan,
|
||||
})
|
||||
}
|
||||
|
||||
if (snapshotFiles.length === 0) {
|
||||
if ((snapshotFiles as any[]).length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user