Add the missing EventMap overload of Backbone.Events.bind

This commit is contained in:
Julian Gonggrijp
2019-02-15 03:15:22 +01:00
parent 99c51c2457
commit 6202c307db
+1
View File
@@ -124,6 +124,7 @@ declare namespace Backbone {
off(eventName?: string, callback?: EventHandler, context?: any): this;
trigger(eventName: string, ...args: any[]): this;
bind(eventName: string, callback: EventHandler, context?: any): this;
bind(eventMap: EventMap, context?: any): this;
unbind(eventName?: string, callback?: EventHandler, context?: any): this;
once(events: string, callback: EventHandler, context?: any): this;