修复 TypeScript 基线并补齐测试类型

This commit is contained in:
2026-03-03 12:21:02 +08:00
parent 673dc1177e
commit 52b87abee3
9 changed files with 36 additions and 21 deletions
+2
View File
@@ -36,6 +36,7 @@ const mockDays: WeekendPlanData[] = [
duration: 90,
lat: 39.9,
lng: 116.4,
reason: "补充体力",
},
],
},
@@ -51,6 +52,7 @@ const mockDays: WeekendPlanData[] = [
duration: 180,
lat: 39.9,
lng: 116.4,
reason: "文化体验",
},
],
},
+1 -1
View File
@@ -41,7 +41,7 @@ const defaultProps = {
userId: "user-1",
initialIndex: 0,
matchedRestaurantId: null,
matchType: null as const,
matchType: null,
matchLikes: 0,
runnerUps: [],
likeCounts: {},