refactor(ngcc): remove unnecessary ! operator (#33533)

PR Close #33533
This commit is contained in:
Pete Bacon Darwin 2019-11-01 16:55:09 +00:00 committed by atscott
parent 8d0de89ece
commit 90f33dd11d
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ export class EsmRenderingFormatter implements RenderingFormatter {
if (!classSymbol) {
throw new Error(`Compiled class does not have a valid symbol: ${compiledClass.name}`);
}
const insertionPoint = classSymbol.declaration.valueDeclaration !.getEnd();
const insertionPoint = classSymbol.declaration.valueDeclaration.getEnd();
output.appendLeft(insertionPoint, '\n' + definitions);
}