feat(router): update dts files
This commit is contained in:
parent
5a849829c4
commit
676bb0fa7d
|
@ -74,6 +74,7 @@ export interface ExtraOptions {
|
|||
enableTracing?: boolean;
|
||||
errorHandler?: ErrorHandler;
|
||||
initialNavigation?: boolean;
|
||||
preloadingStrategy?: any;
|
||||
useHash?: boolean;
|
||||
}
|
||||
|
||||
|
@ -140,11 +141,26 @@ export declare class NavigationStart {
|
|||
toString(): string;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class NoPreloading implements PreloadingStrategy {
|
||||
preload(route: Route, fn: () => Observable<any>): Observable<any>;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare type Params = {
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
/** @experimental */
|
||||
export declare class PreloadAllModules implements PreloadingStrategy {
|
||||
preload(route: Route, fn: () => Observable<any>): Observable<any>;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare abstract class PreloadingStrategy {
|
||||
abstract preload(route: Route, fn: () => Observable<any>): Observable<any>;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare const PRIMARY_OUTLET: string;
|
||||
|
||||
|
|
Loading…
Reference in New Issue