Skip to content
New issue

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

Type 'Observable<{}>' is not assignable to type 'Observable<Item>'. #1

Open
hugodion opened this issue Feb 16, 2018 · 0 comments
Open

Comments

@hugodion
Copy link

Hi,
I get this error in item.service.ts when compiling:

ERROR in src/app/items/shared/item.service.ts(37,5): error TS2322: Type 'Observable<{}>' is not assignable to type 'Observable'.
Type '{}' is not assignable to type 'Item'.
Property '$key' is missing in type '{}'.

Any idea ?

Thanks

2018-02-16_10-16-33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant