depending on the type of a parameter I\'d like to type the return. Similar to function overload, but using mapped types.
const requestX = async( id?: stri