Interface Async Function Typescript Enum Definition