refactor(ivy): rename PipeDef.n to PipeDef.factory (#23883)

The original reason for this property to be short no longer holds true,
as pipes always need to be defined using `definePipe`.

PR Close #23883
This commit is contained in:
JoostK
2018-05-13 18:29:45 +02:00
committed by Victor Berchet
parent e53179ef8c
commit b87d650da2
3 changed files with 4 additions and 7 deletions

View File

@ -33,7 +33,7 @@ export function pipe(index: number, pipeName: string): any {
pipeDef = tView.data[index] as PipeDef<any>;
}
const pipeInstance = pipeDef.n();
const pipeInstance = pipeDef.factory();
store(index, pipeInstance);
return pipeInstance;
}