refactor(ngcc): remove unused function (#33777)

PR Close #33777
This commit is contained in:
Pete Bacon Darwin 2019-11-13 08:31:28 +00:00 committed by Kara Erickson
parent 95715fc71e
commit 7f24975a60
1 changed files with 0 additions and 4 deletions

View File

@ -235,10 +235,6 @@ function findNamespaceOfIdentifier(id: ts.Identifier): ts.Identifier|null {
null;
}
export function stripParentheses(node: ts.Node): ts.Node {
return ts.isParenthesizedExpression(node) ? node.expression : node;
}
type ReexportStatement = ts.ExpressionStatement & {expression: {arguments: [RequireCall]}};
function isReexportStatement(statement: ts.Statement): statement is ReexportStatement {
return ts.isExpressionStatement(statement) && ts.isCallExpression(statement.expression) &&