Mixins with type checking in Typescript
If you want to use Typescript because you think that type checking is a good thing, and that your IDE is much more clever with Typescript, you'll soon discover that one of best feature of JavaScript is missing in Typescript : the mixins.
https://nch3v.github.io/2016/02/09/Mixins-with-type-checking-in-Typescript/