Skip to content

Commit

Permalink
doc(metadata): added docblock about the non-compliant ts-to-es5 exten…
Browse files Browse the repository at this point in the history
…ds implementation
  • Loading branch information
doktordirk committed Jul 7, 2016
1 parent a4f0556 commit fa7afe1
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 fa7afe1

Please sign in to comment.