mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Update index.d.ts
Add Monitor
This commit is contained in:
10
types/yandex-maps/index.d.ts
vendored
10
types/yandex-maps/index.d.ts
vendored
@@ -1,6 +1,8 @@
|
||||
// Type definitions for yandex-maps 2.1
|
||||
// Project: https://github.com/Delagen/typings-yandex-maps
|
||||
// Definitions by: Delagen <https://github.com/Delagen>
|
||||
// <https://github.com/rjpackito>
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user