From e496efed374d76c60d5585f3e1a7d7a01396a9c4 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 12 Feb 2014 22:22:50 +0100 Subject: [PATCH] Typed callback arg to Marionette.Callbacks.add as a Function --- marionette/marionette.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/marionette/marionette.d.ts b/marionette/marionette.d.ts index 6c18b8906..3427d6de4 100644 --- a/marionette/marionette.d.ts +++ b/marionette/marionette.d.ts @@ -112,8 +112,8 @@ declare module Marionette { function unbindEntityEvents(target, entity, bindings); class Callbacks { - add(callback, contextOverride): void; - run(options, context): void; + add(callback:Function, contextOverride:any): void; + run(options:any, context:any): void; reset(): void; }