From 9b643ecfd5d98f49a1a06aef7030c21dd41833cf Mon Sep 17 00:00:00 2001 From: Nail Date: Thu, 11 Jul 2019 04:13:48 +0400 Subject: [PATCH] [Leaflet] Added typing for Control.extend method (#36650) * fix(leaflet): add definition for Control.extend * Revert "fix(leaflet): add definition for Control.extend" This reverts commit e06f3d8ae01253db95323f48b35cd03d524cebde. * fix(leaflet): add definition for Control.extend --- types/leaflet/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index df3d73879f..abd91b4982 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -1042,6 +1042,7 @@ export interface ControlOptions { } export class Control extends Class { + static extend(props: T): {new(...args: any[]): T} & typeof Control; constructor(options?: ControlOptions); getPosition(): ControlPosition; setPosition(position: ControlPosition): this;