From 893272dc44ef658fc7926f26dbf11939b9f86b19 Mon Sep 17 00:00:00 2001 From: oceanroleplay Date: Wed, 8 Sep 2021 05:24:46 +0530 Subject: [PATCH] airep --- package.json | 2 +- src/types/responses/AW/IAIREP.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index aa991a7..3d1be8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aviationweather", - "version": "1.2.2", + "version": "1.2.3", "description": "Node.js wrapper for aviation weather, written in TypeScript", "main": "build/index.js", "types": "build/index.d.ts", diff --git a/src/types/responses/AW/IAIREP.ts b/src/types/responses/AW/IAIREP.ts index f160821..455ca81 100644 --- a/src/types/responses/AW/IAIREP.ts +++ b/src/types/responses/AW/IAIREP.ts @@ -109,7 +109,7 @@ export interface IAIREP { /** * Temperature (C) */ - temp_c?: string; + temp_c?: number; /** * Wind direction-the direction from where the wind is blowing (degree) @@ -134,5 +134,5 @@ export interface IAIREP { /** * Raw PIREP in text */ - raw_text?: string; + raw_text: string; }