refactor(router): compile router cleanly with TypeScript 2.4 (#18465)

This commit is contained in:
Chuck Jazdzewski
2017-08-02 17:32:02 -07:00
committed by Victor Berchet
parent 81cb5bc3a7
commit 3a227a1f6f
4 changed files with 4 additions and 4 deletions

View File

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