I have a simple question about Promise. Would anyone know how to proceed?
I want to return an object from within the then. I'll give you an example ...
buscarUsuario(id): Usuario {
return this.userService(id)
.then( user => {
//QUERO RETORNAR ESSE OBJETO
});
}