Skip to content

Commit

Permalink
날씨 데이터 변경으로 인한 타입 추가(#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Db0111 committed Aug 25, 2024
1 parent 3d748a0 commit 67b1664
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions src/types/weather.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
export type WeatherResponse = {
data: {
fcstDate: string;
fcstTime: string;
tmp: string;
reh: string;
wsd: string;
pop: string;
pcp: string;
rainType: string;
skyStatus: string;
nx: number;
ny: number;
}[];
season: string;
extremumTmp: number;
maximumPop: number;
maximumPcp: number;
forecasts: Array<{

fcstDate: string;
fcstTime: string;
tmp: number;
reh: number;
wsd: number;
pop: number;
pcp: number;
rainType: string;
skyStatus: string;
nx: number;
ny: number;
}>

};
message: string;
status: number;
};

0 comments on commit 67b1664

Please sign in to comment.