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