Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. export type LoadChildrenCallback = () => Type<any>| Promise<Type<any>>| Observable<Type<any>>;
  2.  
  3. export type LoadChildren = string | LoadChildrenCallback;
  4.  
  5. export interface Route {
  6. path?: string;
  7. pathMatch?: string;
  8. component?: Type<any>;
  9. redirectTo?: string;
  10. outlet?: string;
  11. canActivate?: any[];
  12. canActivateChild?: any[];
  13. canDeactivate?: any[];
  14. canLoad?: any[];
  15. data?: Data;
  16. resolve?: ResolveData;
  17. children?: Route[];
  18. loadChildren?: LoadChildren;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement