TypeScript Features You Should No Longer Use
When TypeScript was originally invented by Microsoft in 2010, they implemented features missing from JavaScript at the time including module systems, classes, enums and decorators.

But in 2015 JavaScript added some of these features into the ECMAScript standard when ES6 was standardised.