feat(router): update dts files

This commit is contained in:
vsavkin 2016-09-16 17:31:24 -07:00 committed by Alex Eagle
parent 5a849829c4
commit 676bb0fa7d
1 changed files with 16 additions and 0 deletions

View File

@ -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;