refactor(compiler): remove unused function (#41040)
The `accessExportScope()` function is not used anymore. PR Close #41040
This commit is contained in:
parent
0f818f36d7
commit
7f24937f1c
|
@ -293,11 +293,6 @@ export function compileNgModuleFromRender2(
|
||||||
/* methods */[]));
|
/* 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 {
|
function tupleTypeOf(exp: R3Reference[]): o.Type {
|
||||||
const types = exp.map(ref => o.typeofExpr(ref.type));
|
const types = exp.map(ref => o.typeofExpr(ref.type));
|
||||||
return exp.length > 0 ? o.expressionType(o.literalArr(types)) : o.NONE_TYPE;
|
return exp.length > 0 ? o.expressionType(o.literalArr(types)) : o.NONE_TYPE;
|
||||||
|
|
Loading…
Reference in New Issue