You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having difficulty coming up with a case with one of the Closure inspectors that demonstrates this problem, but I'm sure I've seen it. See also microsoft/TypeScript#7345
I think leading underscore is the escape hatch for 'variable renaming', which is completely different from 'property renaming'. So class fields are save, but top-level functions like __extend are not.
To Closure, a variable name that starts with an underscore prevents optimization.
Tsickle should warn/error on code that uses an underscore.
The text was updated successfully, but these errors were encountered: