leaflet.d.ts: split signature DomUtil#get to 2 overloaded

This commit is contained in:
goleon
2016-11-07 21:29:11 +04:00
parent 3a1606d051
commit 28b5b2683c
+2 -1
View File
@@ -16,7 +16,8 @@ declare namespace L {
}
export class DomUtil {
static get(id: string|HTMLElement): HTMLElement;
static get(id: string): HTMLElement;
static get(id: HTMLElement): HTMLElement;
static getStyle(el: HTMLElement, styleAttrib: string): string;
static create(tagName: String, className?: String, container?: HTMLElement): HTMLElement;
static remove(el: HTMLElement):void;