Typescript Type For Async Function Mdn Text Properties In Javascript