Typescript Async Function Signature Typescript Compiler