How to fix The return type of an async function or method must be the global Promise<T> type in TypeScript | DevErrors