free memory when TS2TS mangling is done

This commit is contained in:
Johannes
2022-11-14 16:54:13 +01:00
parent 85c28e5927
commit aeb79e48a0
3 changed files with 19 additions and 9 deletions

View File

@@ -350,7 +350,7 @@ export class Mangler {
this.service = ts.createLanguageService(new StaticLanguageServiceHost(projectPath));
}
computeNewFileContents(): ReadonlyMap<string, string> {
computeNewFileContents(): Map<string, string> {
// STEP: find all classes and their field info