@types/react-geocode
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

Installation

npm install --save @types/react-geocode

Summary

This package contains type definitions for react-geocode (https://github.com/shukerullah/react-geocode).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-geocode.

index.d.ts

export function fromAddress(address: string, apiKey?: string, language?: string, region?: string): Promise<any>;
export function fromLatLng(
    latitude: string,
    longitude: string,
    apiKey?: string,
    language?: string,
    region?: string,
): Promise<any>;
export function setApiKey(api_key: string): void;
export function setLanguage(language: string): void;
export function enableDebug(enable?: boolean): void;
export function setRegion(region: string): void;
export function setLocationType(location_type: string): void;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Steve Mu.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-geocode

Weekly Downloads

13,260

Version

0.2.4

License

MIT

Unpacked Size

3.63 kB

Total Files

5

Last publish

Collaborators

  • types