I want to make sure that my input accepts only below function as an argument:
async getAll(url: string, params?: any): Promise