title: Get list of attribute decorators in TypeScript
body: <pre><code>class Test {
      @First()
      @Second()
      public someAttribute;
  }
  
  var t = new Test();
  var decorators = t.getListOfAttributeDecorators("someAttribute");
  console.log(decorators); // [First, Second]
  </code></pre>
  
  <p>I would like to implement the "getListOfAttributeDecorators" function, but dont know how. Or is there any other way to get the list of attribute decorators?</p>