fix(ivy): emit generic type arguments in Pipe metadata (#29403)

Previously, only directives and services with generic type parameters
would emit `any` as generic type when emitting Ivy metadata into .d.ts
files. Pipes can also have generic type parameters but did not emit
`any` for all type parameters, resulting in the omission of those
parameters which causes compilation errors.

This commit adds support for pipes with generic type arguments and emits
`any` as generic type in the Ivy metadata.

Fixes #29400

PR Close #29403
This commit is contained in:
JoostK
2019-03-19 21:22:03 +01:00
committed by Matias Niemelä
parent 17b3f11e07
commit 9eb8274991
7 changed files with 55 additions and 11 deletions

View File

@ -77,6 +77,7 @@ export interface R3DependencyMetadataFacade {
export interface R3PipeMetadataFacade {
name: string;
type: any;
typeArgumentCount: number;
pipeName: string;
deps: R3DependencyMetadataFacade[]|null;
pure: boolean;