From 2e9c600e935e919107794cd296c6fb593b1b0c70 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sun, 1 Mar 2026 18:42:58 +0000 Subject: [PATCH] refactor(weatherkit): remove redundant type aliases (#49) The *TypeType re-exports are unnecessary since consumers can use import type to get the type. Co-authored-by: Ona --- packages/aris-source-weatherkit/src/index.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/aris-source-weatherkit/src/index.ts b/packages/aris-source-weatherkit/src/index.ts index f950694..192e6bf 100644 --- a/packages/aris-source-weatherkit/src/index.ts +++ b/packages/aris-source-weatherkit/src/index.ts @@ -1,14 +1,8 @@ export { WeatherKey, type Weather } from "./weather-context" -export { - WeatherSource, - Units, - type Units as UnitsType, - type WeatherSourceOptions, -} from "./weather-source" +export { WeatherSource, Units, type WeatherSourceOptions } from "./weather-source" export { WeatherFeedItemType, - type WeatherFeedItemType as WeatherFeedItemTypeType, type WeatherFeedItem, type CurrentWeatherFeedItem, type CurrentWeatherData, @@ -27,11 +21,6 @@ export { Certainty, PrecipitationType, DefaultWeatherKitClient, - type ConditionCode as ConditionCodeType, - type Severity as SeverityType, - type Urgency as UrgencyType, - type Certainty as CertaintyType, - type PrecipitationType as PrecipitationTypeType, type WeatherKitClient, type WeatherKitCredentials, type WeatherKitQueryOptions,