Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/leaflet

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/leaflet - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

16

leaflet/index.d.ts

@@ -244,3 +244,2 @@ // Type definitions for Leaflet.js 1.2

/* tslint:disable:unified-signatures */ // With an eventMap there are no additional arguments allowed
/**

@@ -252,2 +251,4 @@ * Removes a previously added listener function. If no function is specified,

*/
// With an eventMap there are no additional arguments allowed
// tslint:disable-next-line:unified-signatures
off(type: string, fn?: LeafletEventHandlerFn, context?: any): this;

@@ -258,4 +259,5 @@

*/
// With an eventMap there are no additional arguments allowed
// tslint:disable-next-line:unified-signatures
off(eventMap: LeafletEventHandlerFnMap): this;
/* tslint:enable */
/**

@@ -673,3 +675,4 @@ * Removes all listeners to all events on the object.

export class LayerGroup<P = any> extends Layer {
constructor(layers?: Layer[]);
constructor(layers?: Layer[], options?: LayerOptions);
/**

@@ -736,5 +739,5 @@ * Returns a GeoJSON representation of the layer group (as a GeoJSON GeometryCollection, GeoJSONFeatureCollection or Multipoint).

/**
* Create a layer group, optionally given an initial set of layers.
* Create a layer group, optionally given an initial set of layers and an `options` object.
*/
export function layerGroup(layers: Layer[]): LayerGroup;
export function layerGroup(layers?: Layer[], options?: LayerOptions): LayerGroup;

@@ -1136,5 +1139,4 @@ /**

/* tslint:disable:no-empty-interface */ // This is not empty, it extends two interfaces into one...
// This is not empty, it extends two interfaces into one...
export interface ZoomPanOptions extends ZoomOptions, PanOptions {}
/* tslint:enable */

@@ -1141,0 +1143,0 @@ export interface FitBoundsOptions extends ZoomOptions, PanOptions {

{
"name": "@types/leaflet",
"version": "1.2.2",
"version": "1.2.3",
"description": "TypeScript definitions for Leaflet.js",

@@ -27,4 +27,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "2caa10d9bbd1f247ca2974fb92ad9451a16b934acf2faceaaa64d4126680d486",
"typesPublisherContentHash": "86d932ec7d8239771eae0f8fb2ee87dae81a7648ef099739ceb20274e87138b2",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Thu, 09 Nov 2017 22:14:16 GMT
* Last updated: Thu, 30 Nov 2017 21:46:00 GMT
* Dependencies: geojson

@@ -14,0 +14,0 @@ * Global values: L

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc