ngx-material-intl-tel-input
Version:
Angular Material international telephone input
17 lines (16 loc) • 670 B
TypeScript
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { GeoData } from '../../types/geo.type';
import * as i0 from "@angular/core";
export declare class GeoIpService {
private http;
constructor(http: HttpClient);
/**
* geoIpLookup function makes an HTTP GET request to retrieve geographical data based on the client's IP address.
*
* @return {Observable<GeoData>} an observable of GeoData containing geographical information
*/
geoIpLookup(): Observable<GeoData>;
static ɵfac: i0.ɵɵFactoryDeclaration<GeoIpService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<GeoIpService>;
}