fix(router): enable loadChildren with function in aot (#13909)
Closes #11075
This commit is contained in:

committed by
Miško Hevery

parent
2d7b3a86cc
commit
635bf02b02
2
tools/public_api_guard/router/index.d.ts
vendored
2
tools/public_api_guard/router/index.d.ts
vendored
@ -85,7 +85,7 @@ export interface ExtraOptions {
|
||||
export declare type LoadChildren = string | LoadChildrenCallback;
|
||||
|
||||
/** @stable */
|
||||
export declare type LoadChildrenCallback = () => Type<any> | Promise<Type<any>> | Observable<Type<any>>;
|
||||
export declare type LoadChildrenCallback = () => Type<any> | NgModuleFactory<any> | Promise<Type<any>> | Observable<Type<any>>;
|
||||
|
||||
/** @stable */
|
||||
export declare class NavigationCancel {
|
||||
|
Reference in New Issue
Block a user