Typescript Interface Async Function Syntax In Cpp