JS OOP - Typescript Homework - implementing Decorator pattern with TypeScript