diff --git a/packages/core/src/render3/instructions.ts b/packages/core/src/render3/instructions.ts index 72c933511f..eac261bedc 100644 --- a/packages/core/src/render3/instructions.ts +++ b/packages/core/src/render3/instructions.ts @@ -1142,7 +1142,6 @@ export function createTView( childIndex: -1, // Children set in addToViewTree(), if any bindingStartIndex: bindingStartIndex, expandoStartIndex: initialViewLength, - directives: null, expandoInstructions: null, firstTemplatePass: true, initHooks: null, diff --git a/packages/core/src/render3/interfaces/view.ts b/packages/core/src/render3/interfaces/view.ts index c1339379a9..bb3404f373 100644 --- a/packages/core/src/render3/interfaces/view.ts +++ b/packages/core/src/render3/interfaces/view.ts @@ -343,15 +343,6 @@ export interface TView { */ currentMatches: CurrentMatchesList|null; - /** - * Directive and component defs that have already been matched to nodes on - * this view. - * - * Defs are stored at the same index in TView.directives[] as their instances - * are stored in LView.directives[]. This simplifies lookup in DI. - */ - directives: DirectiveDefList|null; - /** * Set of instructions used to process host bindings efficiently. *