refactor(ivy): don't pass LView where only TView is needed (#31490)

PR Close #31490
This commit is contained in:
Pawel Kozlowski
2019-07-10 17:53:42 +02:00
committed by Matias Niemelä
parent 6f50aad5c4
commit 7014b67e51
4 changed files with 7 additions and 7 deletions

View File

@ -230,8 +230,8 @@ export function getParentInjectorLocation(tNode: TNode, view: LView): RelativeIn
* @param token The type or the injection token to be made public
*/
export function diPublicInInjector(
injectorIndex: number, view: LView, token: InjectionToken<any>| Type<any>): void {
bloomAdd(injectorIndex, view[TVIEW], token);
injectorIndex: number, tView: TView, token: InjectionToken<any>| Type<any>): void {
bloomAdd(injectorIndex, tView, token);
}
/**