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

3.2.6 • Public • Published

Installation

npm install --save @types/google-maps

Summary

This package contains type definitions for google-maps (https://www.npmjs.com/package/google-maps).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-maps.

index.d.ts

// TypeScript Version: 3.0

/// <reference types="google.maps" />

declare namespace GoogleMapsLoader {
    type google = { maps: typeof google.maps };
    interface CallBack {
        (google: google): void;
    }

    export var KEY: string;
    export var URL: string;
    export var LIBRARIES: string[];
    export var CLIENT: string;
    export var CHANNEL: string;
    export var LANGUAGE: string;
    export var REGION: string;
    export var VERSION: string;
    export var WINDOW_CALLBACK_NAME: string;

    export function release(callBack: Function): void;
    export function onLoad(callBack?: CallBack): void;
    export function load(callBack?: CallBack): void;
    export function isLoaded(): boolean;
    export function createLoader(): void;
    export function createUrl(): string;
    export function makeMock(): void;
}

export = GoogleMapsLoader;
export as namespace GoogleMapsLoader;

Additional Details

Credits

These definitions were written by Deividas Bakanas, and Giedrius Grabauskas.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/google-maps

    Weekly Downloads

    97,331

    Version

    3.2.6

    License

    MIT

    Unpacked Size

    4.74 kB

    Total Files

    5

    Last publish

    Collaborators

    • types