google-maps definitions added

This commit is contained in:
Deividas Bakanas
2015-12-03 19:24:06 +02:00
parent c953bcda0f
commit 7fb9bf8417
+26
View File
@@ -0,0 +1,26 @@
// Type definitions for google-maps 3.1.0
// Project: https://www.npmjs.com/package/google-maps
// Definitions by: Deividas Bakanas <deividas@quatrodev.com>, Giedrius Grabauskas <giedrius@quatrodev.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../googlemaps/google.maps.d.ts" />
declare namespace GoogleMapsLoader {
interface CallBack {
(google: { maps: { Map: google.maps.Map } }): void;
}
export var KEY: string;
export var CLIENT: string;
export var VERSION: string;
export var SENSO: boolean;
export var LIBRARIES: Array<string>;
export var LANGUAGE: string;
export function release(callBack: Function): void;
export function onLoad(callBack?: CallBack): void;
export function load(callBack?: CallBack): void;
export function isLoaded(): boolean;
}
declare module 'google-maps' {
export = GoogleMapsLoader;
}