From df95007ef0577145b14894cbddcd4a26ecc78a25 Mon Sep 17 00:00:00 2001 From: Kenneth Brubaker Date: Thu, 4 Apr 2013 20:06:58 -0300 Subject: [PATCH] Update durandal.d.ts --- durandal/durandal.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/durandal/durandal.d.ts b/durandal/durandal.d.ts index e7cf11ee4..0a07086f7 100644 --- a/durandal/durandal.d.ts +++ b/durandal/durandal.d.ts @@ -376,6 +376,10 @@ declare module "durandal/plugins/router" { * called after an a new module is composed */ export var afterCompose: () => void; + /** + * Returns the activatable instance from the supplied module. + */ + export var getActivatableInstance: (routeInfo: routeInfo, params: any, module: any) => any; /** * Causes the router to move backwards in page history. */ @@ -449,4 +453,4 @@ interface IEventSubscription * This function removing current subscription from event handlers */ off(): void; - } \ No newline at end of file + }