We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4917715 commit 217a87eCopy full SHA for 217a87e
packages/@ngtools/webpack/src/refactor.ts
@@ -128,11 +128,11 @@ export class TypeScriptFileRefactor {
128
this._sourceString.appendRight(node.getEnd(), text);
129
}
130
append(node: ts.Node, text: string): void {
131
- this._sourceString.insertLeft(node.getEnd(), text);
+ this._sourceString.appendLeft(node.getEnd(), text);
132
133
134
prependBefore(node: ts.Node, text: string) {
135
- this._sourceString.insertLeft(node.getStart(), text);
+ this._sourceString.appendLeft(node.getStart(), text);
136
137
138
insertImport(symbolName: string, modulePath: string): void {
0 commit comments