Typescript Interface Async Function In Js