Last active
March 2, 2020 14:17
-
-
Save khusamov/3e04e15279551e22ff69655267c9d40a to your computer and use it in GitHub Desktop.
Добавление метода once() в интерфейс IEventManager из пакета @types/yandex-maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module '@types/yandex-maps' { | |
import {IEvent} from '@types/yandex-maps'; | |
declare namespace ymaps { | |
interface IEventManager { | |
once(types: string[][] | string[] | string, callback: (event: object | IEvent) => void, context?: object, priority?: number): this; | |
} | |
} | |
export = ymaps; | |
export as namespace ymaps; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment