One thing that took me some time to figure out is how to create a construct like static classes in TypeScript. I wanted to directly expose some functions without instantiating a class.
Here is how I did it:
It’s not completely the same as a static class in C# but it provides a similar experience.