Created
March 10, 2019 11:23
-
-
Save phenomnomnominal/9eda5a1e71587c582b3d3f6657cb0d8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A function that is called to resolve a collection of lazy-loaded routes. | |
*/ | |
export type LoadChildrenCallback = () => Type<any>| NgModuleFactory<any>| Promise<Type<any>>| Observable<Type<any>>; | |
/** | |
* A string of the form `path/to/file#exportName` that acts as a URL for a set of routes to load, | |
* or a function that returns such a set. | |
*/ | |
export type LoadChildren = string | LoadChildrenCallback; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment