mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
refactor(weatherkit): remove redundant type aliases
The *TypeType re-exports are unnecessary since consumers can use import type to get the type. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -1,14 +1,8 @@
|
|||||||
export { WeatherKey, type Weather } from "./weather-context"
|
export { WeatherKey, type Weather } from "./weather-context"
|
||||||
export {
|
export { WeatherSource, Units, type WeatherSourceOptions } from "./weather-source"
|
||||||
WeatherSource,
|
|
||||||
Units,
|
|
||||||
type Units as UnitsType,
|
|
||||||
type WeatherSourceOptions,
|
|
||||||
} from "./weather-source"
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
WeatherFeedItemType,
|
WeatherFeedItemType,
|
||||||
type WeatherFeedItemType as WeatherFeedItemTypeType,
|
|
||||||
type WeatherFeedItem,
|
type WeatherFeedItem,
|
||||||
type CurrentWeatherFeedItem,
|
type CurrentWeatherFeedItem,
|
||||||
type CurrentWeatherData,
|
type CurrentWeatherData,
|
||||||
@@ -27,11 +21,6 @@ export {
|
|||||||
Certainty,
|
Certainty,
|
||||||
PrecipitationType,
|
PrecipitationType,
|
||||||
DefaultWeatherKitClient,
|
DefaultWeatherKitClient,
|
||||||
type ConditionCode as ConditionCodeType,
|
|
||||||
type Severity as SeverityType,
|
|
||||||
type Urgency as UrgencyType,
|
|
||||||
type Certainty as CertaintyType,
|
|
||||||
type PrecipitationType as PrecipitationTypeType,
|
|
||||||
type WeatherKitClient,
|
type WeatherKitClient,
|
||||||
type WeatherKitCredentials,
|
type WeatherKitCredentials,
|
||||||
type WeatherKitQueryOptions,
|
type WeatherKitQueryOptions,
|
||||||
|
|||||||
Reference in New Issue
Block a user