mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
atscott
parent
8d0de89ece
commit
90f33dd11d
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user