Fix two incorrect export definitions (#34118)

Both the `getAllCountries` function and the `getAllTimezones` function return an object rather than an array.

https://github.com/manuelmhtr/countries-and-timezones/blob/master/src/data.json#L2-L6
https://github.com/manuelmhtr/countries-and-timezones/blob/master/src/data.json#L1905-L1908
This commit is contained in:
dherman
2019-03-29 21:02:47 -07:00
committed by Ron Buckton
parent a06e9c8470
commit df2f7932e5
+2 -2
View File
@@ -16,9 +16,9 @@ export interface Timezone {
countries: string[];
}
export function getAllCountries(): Country[];
export function getAllCountries(): {[key: string]: Country};
export function getAllTimezones(): Timezone[];
export function getAllTimezones(): {[key: string]: Timezone};
export function getCountriesForTimezone(timezoneId: string): Country[];