Typescript is only a linter, except for types annotations it is regular JS, quite different from C with Classes.
If you are going to mention enum and namespaces, the team considers them a design error, and only keeps them around due to backwards compatibility.