Skip to content

Commit

Permalink
Remove more code
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Sep 6, 2022
1 parent 0117f8b commit 22722da
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scripts/build/modify-typescript-module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,25 @@ function modifyTypescriptModule(text) {
text.includes("(ts.CallHierarchy = {})")
);

// `ts.flattenDestructuringAssignment` and `ts.flattenDestructuringBinding`
text = removeSubmodule(
text,
(text) =>
text.includes(
"ts.flattenDestructuringAssignment = flattenDestructuringAssignment"
) &&
text.includes(
"ts.flattenDestructuringBinding = flattenDestructuringBinding"
)
);

// `ts.processTaggedTemplateExpression`
text = removeSubmodule(text, (text) =>
text.includes(
"ts.processTaggedTemplateExpression = processTaggedTemplateExpression"
)
);

// Editor
text = removeSubmodule(text, (text) =>
text.includes("ts.getEditsForFileRename = getEditsForFileRename;")
Expand Down

0 comments on commit 22722da

Please sign in to comment.