In a TSS file only variables created on the Alloy namespace are to be used inside the TSS files. This creates anti-patterns with modules for example.
Situation right now:
Preferred flow would be to not pollute the global namespace for multiple reasons (memory usage and app startup time. Something like this:
Or if namespacing is important, maybe use the $ namespace like this