Using generics can help you achieve this in your typescript code.
11+ Typescript Class Diagram Generator. Export var variable = variable; A class in terms of oop is a blueprint for creating objects. Poco2ts.exe generates typescript data model interfaces from poco classes. Smart objects detect logical relationships between class diagrams.