From 7c9e75f7c0e967930b3d03a09ab85ecb2feebd32 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Mon, 1 Feb 2016 16:42:19 +0100 Subject: [PATCH] Not every class constructor inherits fields from the default ClassStatic. --- leaflet/leaflet.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index 94e6ab51c3..12cf1ae957 100755 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -41,7 +41,7 @@ declare module L { export function bounds(points: Point[]): Bounds; - export interface BoundsStatic extends ClassStatic { + export interface BoundsStatic { /** * Creates a Bounds object from two coordinates (usually top-left and bottom-right * corners). @@ -1453,7 +1453,7 @@ declare namespace L { */ function latLng(coords: LatLngExpression): LatLng; - export interface LatLngStatic extends ClassStatic { + export interface LatLngStatic { /** * Creates an object representing a geographical point with the given latitude * and longitude. @@ -1539,7 +1539,7 @@ declare namespace L { */ function latLngBounds(latlngs: LatLngBoundsExpression): LatLngBounds; - export interface LatLngBoundsStatic extends ClassStatic { + export interface LatLngBoundsStatic { /** * Creates a LatLngBounds object by defining south-west and north-east corners * of the rectangle. @@ -2442,7 +2442,7 @@ declare namespace L { options: Map.MapOptions; /** - * Iterates over the layers of the map, optionally specifying context + * Iterates over the layers of the map, optionally specifying context * of the iterator function. */ eachLayer(fn: (layer: ILayer) => void, context?: any): Map; @@ -3401,7 +3401,7 @@ declare namespace L { */ function point(x: number, y: number, round?: boolean): Point; - export interface PointStatic extends ClassStatic { + export interface PointStatic { /** * Creates a Point object with the given x and y coordinates. If optional round * is set to true, rounds the x and y values. @@ -4182,7 +4182,7 @@ declare namespace L { * When this option is set, the TileLayer only loads tiles that are in the given geographical bounds. */ bounds?: LatLngBounds; - + /** * Custom keys may be specified in TileLayerOptions so they can be used in a provided URL template. */ @@ -4191,7 +4191,7 @@ declare namespace L { } declare namespace L { - export interface TransformationStatic extends ClassStatic { + export interface TransformationStatic { /** * Creates a transformation object with the given coefficients. */