2

I'm using typescript and Angular (2.4.7)

reflect-metadata refers to magical strings, where do I find what these are, where they are defined? For example "design:type"

function Type(type) { return Reflect.metadata("design:type", type); }
function ParamTypes(...types) { return Reflect.metadata("design:paramtypes", types); }
function ReturnType(type) { return Reflect.metadata("design:returntype", type); }
Brandon
  • 984
  • 1
  • 11
  • 26