Not every class constructor inherits fields from the default ClassStatic.

This commit is contained in:
Erik Krogh Kristensen
2016-02-01 16:42:19 +01:00
parent 717a5fdb07
commit 7c9e75f7c0
+7 -7
View File
@@ -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.
*/