UNPKG

@victorequena22/conneccion

Version:

Utilidades para mi uso que pongo a dispocion

15 lines (14 loc) 552 B
declare class countrystatecity { get<p>(url: string): Promise<p | null>; getCountryList(): Promise<CountryList[] | null | undefined>; getCountry(iso2: string): Promise<CountryList | null | undefined>; getCountryStates(iso2: string): Promise<CountryList[] | null | undefined>; getCountryState(iso: string, iso2: string): Promise<CountryList | null | undefined>; } export declare function dataContry(): countrystatecity; export interface CountryList { phone: number; name: string; iso2: string; } export {};