Angular 2, decorators and class inheritance
Thierry Templier
6113

This is gold man! Implemented in in our Angular RC5 app. I was tired of repeating animations on @Component annotation for similar components.

One note. If you get this error when compiling TypeScript:

```Property ‘getMetadata’ does not exist on type ‘typeof Reflect’```

just add this line to custom-component.ts file

///<reference path="../../../node_modules/reflect-metadata/reflect-metadata.d.ts"/>"
Show your support

Clapping shows how much you appreciated Ksawery Glab’s story.