@types/google-maps
Advanced tools
Comparing version 3.2.6 to 4.0.0
{ | ||
"name": "@types/google-maps", | ||
"version": "3.2.6", | ||
"description": "TypeScript definitions for google-maps", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-maps", | ||
"license": "MIT", | ||
"contributors": [ | ||
{ | ||
"name": "Deividas Bakanas", | ||
"githubUsername": "DeividasBakanas", | ||
"url": "https://github.com/DeividasBakanas" | ||
}, | ||
{ | ||
"name": "Giedrius Grabauskas", | ||
"githubUsername": "GiedriusGrabauskas", | ||
"url": "https://github.com/GiedriusGrabauskas" | ||
} | ||
], | ||
"version": "4.0.0", | ||
"description": "Stub TypeScript definitions entry for google-maps, which provides its own types definitions", | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/google-maps" | ||
}, | ||
"scripts": {}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"@types/google.maps": "*" | ||
"google-maps": "*" | ||
}, | ||
"typesPublisherContentHash": "744d896a68bf9562b34e608bed5b924c5b493864d15c2cb59cb7d6c8ba11ee4e", | ||
"typeScriptVersion": "4.5" | ||
"deprecated": "This is a stub types definition. google-maps provides its own type definitions, so you do not need this installed." | ||
} |
@@ -1,50 +0,3 @@ | ||
# Installation | ||
> `npm install --save @types/google-maps` | ||
This is a stub types definition for @types/google-maps (https://github.com/davidkudera/google-maps-loader#readme). | ||
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google-maps/index.d.ts) | ||
````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 | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: [@types/google.maps](https://npmjs.com/package/@types/google.maps) | ||
# Credits | ||
These definitions were written by [Deividas Bakanas](https://github.com/DeividasBakanas), and [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas). | ||
google-maps provides its own type definitions, so you don't need @types/google-maps installed! |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1774
3
0
2
1
1
3
1
1
+ Addedgoogle-maps@*
+ Added@types/googlemaps@3.43.3(transitive)
+ Addedgoogle-maps@4.3.3(transitive)
- Removed@types/google.maps@*
- Removed@types/google.maps@3.58.1(transitive)