We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(TS) Type 'Observable<boolean>' is not assignable to type 'Observable<UserRegistration>'.
Type 'boolean' is not assignable to type 'UserRegistration'. (tsconfig or jsconfig project) \src\app\shared\services\user.service.ts 42 Active
The text was updated successfully, but these errors were encountered:
you could do this: .map(res => res.json()) instead of .map(res => true)
.map(res => res.json())
.map(res => true)
Sorry, something went wrong.
You should be using HttpClient and not Http anyway, so calling .json() is not necessary.
No branches or pull requests
Type 'boolean' is not assignable to type 'UserRegistration'.
(tsconfig or jsconfig project)
\src\app\shared\services\user.service.ts 42 Active
The text was updated successfully, but these errors were encountered: