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

@ -431,7 +431,7 @@ export function definePipe<T>(pipeDef: {
}): never {
return (<PipeDef<T>>{
name: pipeDef.name,
n: pipeDef.factory,
factory: pipeDef.factory,
pure: pipeDef.pure !== false,
onDestroy: pipeDef.type.prototype.ngOnDestroy || null
}) as never;