Skip to content

Commit

Permalink
Suppress lints by comment
Browse files Browse the repository at this point in the history
  • Loading branch information
atd-schubert committed Jan 30, 2017
1 parent 1986077 commit 580dd62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion leaflet/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
*/
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 580dd62

Please sign in to comment.