Skip to content
This repository
Browse code

transition is an optional parameter.

  • Loading branch information...
commit bcd11d7234c73f46bfc47f9f5f6996f6878be86d 1 parent f633eb2
Roman Nikitin authored April 08, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  durandal/durandal.d.ts
2  durandal/durandal.d.ts
@@ -64,7 +64,7 @@ declare module "durandal/app" {
64 64
       * @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. 
65 65
       * @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".
66 66
       */
67  
-    export var setRoot: (root: any, transition: string, applicationHost?: string) => void;
  67
+    export var setRoot: (root: any, transition?: string, applicationHost?: string) => void;
68 68
     /**
69 69
       * If you intend to run on mobile, you should also call app.adaptToDevice() before setting the root.
70 70
       */

0 notes on commit bcd11d7

Please sign in to comment.
Something went wrong with that request. Please try again.