is there any need to return keyword before throwError in angular code example
Example: trow error beginning of pipe
map(res => {
if (res.bearerToken) {
return this.saveJwt(res.bearerToken);
} else {
throw new Error('Valid token not returned');
}
})