From 580dd62cca2be873b9d32df51408d8bd024d6810 Mon Sep 17 00:00:00 2001 From: Arne Schubert Date: Mon, 30 Jan 2017 21:16:57 +0100 Subject: [PATCH] Suppress lints by comment --- leaflet/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/leaflet/index.d.ts b/leaflet/index.d.ts index 342b674783..4097c728b4 100644 --- a/leaflet/index.d.ts +++ b/leaflet/index.d.ts @@ -252,6 +252,7 @@ declare namespace L { */ on(eventMap: EventHandlerFnMap): this; + /* tslint:disable:unified-signatures */ // With an eventMap there are no additional arguments allowed /** * Removes a previously added listener function. If no function is specified, * it will remove all the listeners of that particular event from the object. @@ -264,7 +265,7 @@ declare namespace L { * Removes a set of type/listener pairs. */ off(eventMap: EventHandlerFnMap): this; - + /* tslint:enable */ /** * Removes all listeners to all events on the object. */ @@ -1152,7 +1153,9 @@ declare namespace L { noMoveStart?: boolean; } + /* tslint:disable:no-empty-interface */ // This is not empty, it extends two interfaces into one... export interface ZoomPanOptions extends ZoomOptions, PanOptions {} + /* tslint:enable */ export interface FitBoundsOptions extends ZoomOptions, PanOptions { paddingTopLeft?: PointExpression;