Fix: Add sunrise/sunset to forecast type definition
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2f56be835e
commit
b4906b7a48
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export interface WeatherData {
|
||||||
description: string;
|
description: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
error?: boolean;
|
error?: boolean;
|
||||||
forecast: { date: string; max_temp: number; min_temp: number; icon: string; description: string }[];
|
forecast: { date: string; max_temp: number; min_temp: number; icon: string; description: string; sunrise?: string; sunset?: string }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface HourlySlot {
|
export interface HourlySlot {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue