Skip to content

Commit

Permalink
refactor(ngcc): remove unnecessary ! operator (angular#33533)
Browse files Browse the repository at this point in the history
PR Close angular#33533
  • Loading branch information
petebacondarwin authored and mohaxspb committed Nov 7, 2019
1 parent 758e2d3 commit b2a2975
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 b2a2975

Please sign in to comment.