Skip to content

Commit

Permalink
refactor(ngcc): remove unnecessary ! operator (#33533)
Browse files Browse the repository at this point in the history
PR Close #33533
  • Loading branch information
petebacondarwin authored and atscott committed Nov 5, 2019
1 parent 8d0de89 commit 90f33dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
}

Expand Down

0 comments on commit 90f33dd

Please sign in to comment.