From 21dd00558d14f6e190f1a8d66d1aead1bca8332c Mon Sep 17 00:00:00 2001 From: NN Date: Fri, 5 Jul 2013 22:08:49 +0300 Subject: [PATCH] TS requires semicolon Fix according to TS 0.9 specification. --- durandal/durandal.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/durandal/durandal.d.ts b/durandal/durandal.d.ts index 5f98beac1..043ab3f66 100644 --- a/durandal/durandal.d.ts +++ b/durandal/durandal.d.ts @@ -249,7 +249,7 @@ declare module "durandal/viewModel" { export var activator: { (): IDurandalViewModelActiveItem; (initialActiveItem: any, settings?: IViewModelDefaults): IDurandalViewModelActiveItem; - } + }; } declare module "durandal/viewModelBinder" { @@ -483,7 +483,7 @@ declare module "durandal/plugins/router" { /** * Before any route is activated, the guardRoute funtion is called. You can plug into this function to add custom logic to allow, deny or redirect based on the requested route. To allow, return true. To deny, return false. To redirect, return a string with the hash or url. You may also return a promise for any of these values. */ - export var guardRoute: (routeInfo: IRouteInfo, params: any, instance: any) => any + export var guardRoute: (routeInfo: IRouteInfo, params: any, instance: any) => any; } declare module "durandal/widget" { @@ -524,4 +524,4 @@ interface IEventSubscription * This function removing current subscription from event handlers */ off(): void; - } + }