Fixes bug where non-exported consts were not being declared as local variables in generated TypeScript
Fixes bug where non-exported consts were not being declared as local variables in generated TypeScript

cspotcode/angl,cspotcode/angl,cspotcode/angl