Typescript Type Async Function Syntax