Optimizing File Structure for Effective Namespacing
What is the best way to structure files so we can have good namespacing?
I have two files
The problem is I have the annoying repetition of
The namespacing is good when it comes to other things in the file like:
Is there anything better that can done?
I have two files
User.ts and Session.ts and an index.ts that re-exports like so: The problem is I have the annoying repetition of
User.User and Session.Session - it gets even more out of control when I have to combine them like:The namespacing is good when it comes to other things in the file like:
Is there anything better that can done?
