More implicit public of protected fields fixing (#175869)

* debt - don't make `_insertSuggestion` force-public

https://github.com/microsoft/vscode/issues/166603

* fix most implict public making

https://github.com/microsoft/vscode/issues/166603

* implict public making causes a build failure

* fix one more violation
This commit is contained in:
Johannes Rieken
2023-03-02 12:56:22 +01:00
committed by GitHub
parent 68f9a8f8f0
commit 155cd6db22
14 changed files with 44 additions and 27 deletions

View File

@@ -125,7 +125,7 @@ export function compileTask(src: string, out: string, build: boolean): () => Nod
let mangleStream = es.through();
if (build) {
let ts2tsMangler = new Mangler(compile.projectPath, (...data) => fancyLog(ansiColors.blue('[mangler]'), ...data));
const newContentsByFileName = ts2tsMangler.computeNewFileContents();
const newContentsByFileName = ts2tsMangler.computeNewFileContents(new Set(['saveState']));
mangleStream = es.through(function write(data: File & { sourceMap?: RawSourceMap }) {
type TypeScriptExt = typeof ts & { normalizePath(path: string): string };
const tsNormalPath = (<TypeScriptExt>ts).normalizePath(data.path);