From 4dc5d4ad946056817811e404745b804b604f2cc7 Mon Sep 17 00:00:00 2001 From: Raphael Hsieh Date: Mon, 7 May 2018 11:25:47 -0700 Subject: [PATCH] Removing type definitions that do not exist (#25437) In the map.js file in Mapbox's codebase, these methods do not exist anymore. https://github.com/mapbox/mapbox-gl-js/blob/master/src/ui/map.js --- types/mapbox-gl/index.d.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index 28b41baeb0..21116829e5 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -33,14 +33,6 @@ declare namespace mapboxgl { removeControl(control: IControl): this; - addClass(klass: string, options?: mapboxgl.StyleOptions): this; - - removeClass(klass: string, options?: mapboxgl.StyleOptions): this; - - setClasses(klasses: string[], options?: mapboxgl.StyleOptions): this; - - hasClass(klass: string): boolean; - getClasses(): string[]; resize(): this;