From bcd11d7234c73f46bfc47f9f5f6996f6878be86d Mon Sep 17 00:00:00 2001 From: Roman Nikitin Date: Mon, 8 Apr 2013 17:51:39 +0700 Subject: [PATCH] transition is an optional parameter. --- durandal/durandal.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/durandal/durandal.d.ts b/durandal/durandal.d.ts index cc8be158f6..33dd732f7a 100644 --- a/durandal/durandal.d.ts +++ b/durandal/durandal.d.ts @@ -64,7 +64,7 @@ declare module "durandal/app" { * @param transition If you have a splash screen, you may want to specify an optional transition to animate from the splash to your main shell. * @param applicationHost parameter is optional. If provided it should be an element id for the node into which the UI should be composed. If it is not provided the default is to look for an element with an id of "applicationHost". */ - export var setRoot: (root: any, transition: string, applicationHost?: string) => void; + export var setRoot: (root: any, transition?: string, applicationHost?: string) => void; /** * If you intend to run on mobile, you should also call app.adaptToDevice() before setting the root. */