Leaflet: whitespace in extension methods

This commit is contained in:
Erik Krogh Kristensen
2017-03-29 09:25:48 +02:00
parent a3ecd4e75f
commit e1cb7511a1
+9 -9
View File
@@ -424,11 +424,11 @@ declare namespace L {
getTooltip(): Tooltip | undefined;
// Extension methods
onAdd?(map: Map) : this;
onRemove?(map: Map) : this;
getEvents?() : {[name: string]: (event: Event) => void};
getAttribution?() : string | null;
beforeAdd?(map: Map) : this;
onAdd?(map: Map): this;
onRemove?(map: Map): this;
getEvents?(): {[name: string]: (event: Event) => void};
getAttribution?(): string | null;
beforeAdd?(map: Map): this;
}
interface GridLayerOptions {
@@ -992,8 +992,8 @@ declare namespace L {
remove(): this;
// Extension methods
onAdd?(map: Map) : HTMLElement;
onRemove?(map: Map) : void;
onAdd?(map: Map): HTMLElement;
onRemove?(map: Map): void;
options: ControlOptions;
}
@@ -1175,8 +1175,8 @@ declare namespace L {
enabled(): boolean;
// Extension methods
addHooks?() : void;
removeHooks?() : void;
addHooks?(): void;
removeHooks?(): void;
}
interface Event {