Visual Studio Code indicates when private functions in TypeScript files are unused:

Currently, unused private methods are included in output bundles (with minifySyntax enabled):

Would it be possible to safely remove unused private methods from classes?
I suppose it's possible that you could use string syntax to call the function this["checkForObstructingMeshes"]() or even this["checkForObstructing" + "Meshes"] . Does that currently work with exported functions to prevent elimination?
Visual Studio Code indicates when private functions in TypeScript files are unused:

Currently, unused private methods are included in output bundles (with

minifySyntaxenabled):Would it be possible to safely remove unused private methods from classes?
I suppose it's possible that you could use string syntax to call the function
this["checkForObstructingMeshes"]()or eventhis["checkForObstructing" + "Meshes"]. Does that currently work with exported functions to prevent elimination?