diff --git a/packages/compiler/src/render3/r3_module_compiler.ts b/packages/compiler/src/render3/r3_module_compiler.ts index d89379a91a..981737b078 100644 --- a/packages/compiler/src/render3/r3_module_compiler.ts +++ b/packages/compiler/src/render3/r3_module_compiler.ts @@ -293,11 +293,6 @@ export function compileNgModuleFromRender2( /* methods */[])); } -function accessExportScope(module: o.Expression): o.Expression { - const selectorScope = new o.ReadPropExpr(module, 'ɵmod'); - return new o.ReadPropExpr(selectorScope, 'exported'); -} - function tupleTypeOf(exp: R3Reference[]): o.Type { const types = exp.map(ref => o.typeofExpr(ref.type)); return exp.length > 0 ? o.expressionType(o.literalArr(types)) : o.NONE_TYPE;