fix(router): Use T type in Resolve interface (#13242)
This commit is contained in:

committed by
Victor Berchet

parent
65965c27a8
commit
9591a08dfb
@ -305,8 +305,7 @@ export interface CanDeactivate<T> {
|
||||
* @stable
|
||||
*/
|
||||
export interface Resolve<T> {
|
||||
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot):
|
||||
Observable<any>|Promise<any>|any;
|
||||
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<T>|Promise<T>|T;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user