Skip to content

Commit

Permalink
fix(router): add NavModel to RouteConfig interface
Browse files Browse the repository at this point in the history
The property "navModel" exists on the RouteConfig object, but it was missing from the interface, breaking Typescript. It is now added.

Fixes #285.
  • Loading branch information
jwahyoung committed Feb 13, 2016
1 parent 372ae81 commit 064fbca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/interfaces.js
Expand Up @@ -63,5 +63,10 @@ interface RouteConfig {
*/
settings?: any;

/**
* The navigation model for storing and interacting with the route's navigation settings.
*/
navModel?: NavModel;

[x: string]: any;
}

0 comments on commit 064fbca

Please sign in to comment.