Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #438 from arash16/patch-1

Update durandal.d.ts --> router.mapNav's second and third parameters must be optional
  • Loading branch information...
2 parents 3a666f1 + 1d2dbf3 commit 3a50298a0f1e0b2aec9517192d9947a9efb1e84b @Diullei Diullei committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  durandal/durandal.d.ts
2  durandal/durandal.d.ts
@@ -419,7 +419,7 @@ declare module "durandal/plugins/router" {
* Works the same as mapRoute except that routes are automatically added to the visibleRoutes array.
- export var mapNav: (url: string, moduleId: string, name: string) => routeInfo;
+ export var mapNav: (url: string, moduleId?: string, name?: string) => routeInfo;
* You can pass a single routeInfo to this function, or you can pass the basic configuration parameters. url is your url pattern, moduleId is the module path this pattern will map to, name is used as the document title and visible determines whether or not to include it in the router's visibleRoutes array for easy navigation UI binding.

0 comments on commit 3a50298

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