refactor(router): compile router cleanly with TypeScript 2.4 (#18465)
This commit is contained in:

committed by
Victor Berchet

parent
81cb5bc3a7
commit
3a227a1f6f
@ -116,5 +116,5 @@ export function wrapIntoObservable<T>(value: T | NgModuleFactory<T>| Promise<T>|
|
||||
return fromPromise(Promise.resolve(value));
|
||||
}
|
||||
|
||||
return of (value);
|
||||
return of (value as T);
|
||||
}
|
||||
|
Reference in New Issue
Block a user