修复 TypeScript 基线并补齐测试类型
This commit is contained in:
@@ -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: "文化体验",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -41,7 +41,7 @@ const defaultProps = {
|
||||
userId: "user-1",
|
||||
initialIndex: 0,
|
||||
matchedRestaurantId: null,
|
||||
matchType: null as const,
|
||||
matchType: null,
|
||||
matchLikes: 0,
|
||||
runnerUps: [],
|
||||
likeCounts: {},
|
||||
|
||||
Reference in New Issue
Block a user