@types/react-places-autocomplete
Advanced tools
Comparing version 6.1.1 to 6.1.2
// Type definitions for react-places-autocomplete 6.1 | ||
// Project: https://github.com/kenny-hibino/react-places-autocomplete/ | ||
// Definitions by: Guilherme Hübner <https://github.com/guilhermehubner> | ||
// Andrew Makarov <https://github.com/r3nya> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -59,4 +60,9 @@ // TypeScript Version: 2.6 | ||
export function geocodeByAddress(address: string, callback: (results: google.maps.GeocoderResult[], status: google.maps.GeocoderStatus) => void): void; | ||
export function geocodeByAddress(address: string): Promise<google.maps.GeocoderResult[]>; | ||
export function geocodeByPlaceId(placeId: string, callback: (results: google.maps.GeocoderResult[], status: google.maps.GeocoderStatus) => void): void; | ||
export function geocodeByPlaceId(placeId: string): Promise<google.maps.GeocoderResult[]>; | ||
export function getLatLng(results: google.maps.GeocoderResult): Promise<google.maps.LatLngLiteral>; | ||
export default class PlacesAutocomplete extends React.Component<PropTypes> {} |
{ | ||
"name": "@types/react-places-autocomplete", | ||
"version": "6.1.1", | ||
"version": "6.1.2", | ||
"description": "TypeScript definitions for react-places-autocomplete", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "guilhermehubner" | ||
}, | ||
{ | ||
"name": "Andrew Makarov", | ||
"url": "https://github.com/r3nya", | ||
"githubUsername": "r3nya" | ||
} | ||
@@ -17,3 +22,3 @@ ], | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
@@ -25,4 +30,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "9b9b1516a4657d01b28cf7336d94f30f040dd1a5e25b3b4d389cd868d10d4676", | ||
"typesPublisherContentHash": "79230e35d8528905f41be55aa011f1956167ccadbd40f518bd0c8367e9883b28", | ||
"typeScriptVersion": "2.6" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-places-autocomplete | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-places-autocomplete | ||
Additional Details | ||
* Last updated: Fri, 06 Apr 2018 14:09:39 GMT | ||
* Last updated: Thu, 21 Jun 2018 00:15:28 GMT | ||
* Dependencies: react, googlemaps | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Guilherme Hübner <https://github.com/guilhermehubner>. | ||
These definitions were written by Guilherme Hübner <https://github.com/guilhermehubner>, Andrew Makarov <https://github.com/r3nya>. |
Sorry, the diff of this file is not supported yet
5343
59