title: Typescript, decorate async function
body: <p>I'm trying to decorate async function#1 with some async function#2.</p>
  
  <p>E.g.</p>
  
  <pre><code>function func2(param) {
     return (target: any, propertyKey: string, descriptor: PropertyDescriptor) =&gt;    {
     //make async operations and then return descriptor
  }
  
  
  @func2(param)
  async function func1() {
      await .... //some async operation
      await .... //some async operation
  }
  </code></pre>
  
  <p>So, the main idea is to perform some async operation in decorator, and then perform other async calls in the main function.</p>
  
  <p>Is it possible to make this withing typescript decorators?</p>
  
  <p>Thank you in advance.</p>