refactor(ivy): correct typings in instantiateAllDirectives (#33322)

PR Close #33322
This commit is contained in:
Pawel Kozlowski
2019-10-18 16:22:44 +02:00
committed by atscott
parent 1d141a8ab1
commit 3ff712a0f5
5 changed files with 21 additions and 16 deletions

View File

@ -602,6 +602,11 @@ export interface TProjectionNode extends TNode {
projection: number;
}
/**
* An union type representing all TNode types that can host a directive.
*/
export type TDirectiveHostNode = TElementNode | TContainerNode | TElementContainerNode;
/**
* This mapping is necessary so we can set input properties and output listeners
* properly at runtime when property names are minified or aliased.