Skip to content

Commit

Permalink
Merge pull request #38 from doktordirk/dockblock-ts-to-es5_-note
Browse files Browse the repository at this point in the history
docblock note about the non-compliant ts-to-es5 extends implementation
  • Loading branch information
EisenbergEffect authored Jul 8, 2016
2 parents a4f0556 + fa7afe1 commit 6d639fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metadata.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
* Helpers for working with metadata on functions.
*
* Note for the Typescript to ES5 transpiler: Due to the non-standard compliant implementation of 'extends', these methods, when applied to derived classes, will operate on the parent class and not on the child class. This can be circumvented by either transpiling to ES2015 (ES6) or by making the targetKey parameter class-specific eg. by using target.name for the targetKey parameter.
*/
interface MetadataType {
/**
Expand Down

0 comments on commit 6d639fc

Please sign in to comment.