parent
8d0de89ece
commit
90f33dd11d
|
@ -96,7 +96,7 @@ export class EsmRenderingFormatter implements RenderingFormatter {
|
||||||
if (!classSymbol) {
|
if (!classSymbol) {
|
||||||
throw new Error(`Compiled class does not have a valid symbol: ${compiledClass.name}`);
|
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);
|
output.appendLeft(insertionPoint, '\n' + definitions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue