From 28b5b2683ccb98d3bc398a1bc548a270fc39b1de Mon Sep 17 00:00:00 2001 From: goleon Date: Mon, 7 Nov 2016 21:29:11 +0400 Subject: [PATCH] leaflet.d.ts: split signature DomUtil#get to 2 overloaded --- leaflet/leaflet.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index f9fb91d4c9..ee2483b752 100644 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -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;