From 4859e8a3bd5dce0b0332e624d570e9de17a143ed Mon Sep 17 00:00:00 2001 From: breeze9527 Date: Thu, 11 Apr 2019 20:46:53 +0800 Subject: [PATCH] [amap-js-api] clean tslint flag --- types/amap-js-api/event.d.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/types/amap-js-api/event.d.ts b/types/amap-js-api/event.d.ts index af908ed626..e9d139629d 100644 --- a/types/amap-js-api/event.d.ts +++ b/types/amap-js-api/event.d.ts @@ -23,7 +23,6 @@ declare namespace AMap { */ off( eventName: string, - // tslint:disable-next-line handler: ((this: C, event: any) => void) | 'mv', context?: C ): this; @@ -64,9 +63,7 @@ declare namespace AMap { // tslint:disable-next-line: no-unnecessary-generics instance: I, eventName: string, - // tslint:disable-next-line: no-unnecessary-generics handler: (this: C, event: any) => void, - // tslint:disable-next-line: no-unnecessary-generics context?: C ): EventListener<1>; /** @@ -80,9 +77,7 @@ declare namespace AMap { // tslint:disable-next-line: no-unnecessary-generics instance: I, eventName: string, - // tslint:disable-next-line: no-unnecessary-generics handler: (this: C, event: any) => void, - // tslint:disable-next-line: no-unnecessary-generics context?: C ): EventListener<1>; /**