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 + }