Skip to content

Commit

Permalink
Allowed extra properties on IState and IDialog
Browse files Browse the repository at this point in the history
Typescript 1.6 tightened up object literal interface validation
(microsoft/TypeScript#3755). Added string
indexer to disable checking for StateInfo config interfaces
  • Loading branch information
grahammendick committed Dec 5, 2015
1 parent 1a25ef2 commit c505847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NavigationJS/src/config/IDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ interface IDialog<TState, TStates> {
initial: TState;
key: string;
title?: string;
[extras: string]: any;
}
export = IDialog;
1 change: 1 addition & 0 deletions NavigationJS/src/config/IState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ interface IState<TTransitions> {
route: string | string[];
trackCrumbTrail?: boolean;
trackTypes?: boolean;
[extras: string]: any;
}
export = IState;

0 comments on commit c505847

Please sign in to comment.