Skip to content

Commit

Permalink
fix(redirectTo): fix redirectTo definition (interface)
Browse files Browse the repository at this point in the history
fix(interface): export interfaces

closes #2871
  • Loading branch information
christopherthielen committed Jul 13, 2016
1 parent 66c3ad1 commit eff7195
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/common/module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @module common */ /** for typedoc */
export * from "./interface";
export * from "./common";
export * from "./coreservices";
export * from "./glob";
Expand Down
1 change: 1 addition & 0 deletions src/ng1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

export * from "./core";

export * from "./ng1/interface";
export * from "./ng1/services";
export * from "./ng1/statebuilders/views";

Expand Down
7 changes: 3 additions & 4 deletions src/state/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,9 @@ export interface StateDeclaration {
* }
* })
*/
redirectTo?: (
($transition$: Transition) => TargetState |
{ state: (string|StateDeclaration), params: { [key: string]: any }} |
string
redirectTo?: ( string |
(($transition$: Transition) => TargetState) |
{ state: (string|StateDeclaration), params: { [key: string]: any }}
)

/**
Expand Down

0 comments on commit eff7195

Please sign in to comment.