Nested class or inner class in Typescript
Inner class or nested class can be defined if you assign a class with an equal operator. Another way is to define a function that returns an object. If you call the function somewhere, the object can be handled as a class.