From b783642bfb122ab8024626db00633e098dc0d34f Mon Sep 17 00:00:00 2001 From: rjpackito Date: Wed, 29 Nov 2017 12:01:30 +0300 Subject: [PATCH] Update index.d.ts Add Monitor --- types/yandex-maps/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types/yandex-maps/index.d.ts b/types/yandex-maps/index.d.ts index 7bb86f61f6..e397c475cb 100644 --- a/types/yandex-maps/index.d.ts +++ b/types/yandex-maps/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for yandex-maps 2.1 // Project: https://github.com/Delagen/typings-yandex-maps // Definitions by: Delagen +// + // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 @@ -3036,4 +3038,12 @@ declare namespace ymaps { shift(offset: number[]): IShape; } + class Monitor { + constructor(dataManager: IDataManager | IOptionManager); + add(name: string[] | string, changeCallback: (event: (object | IEvent)) => void, context: any = null, params: any = null): Monitor; + forceChange(): Monitor; + get(name: string): any; + remove(name: string): Monitor; + removeAll(): Monitor; + } }