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

ERROR in src/app/courses/course/course.component.html:7:42 - error TS2339: Property 'loading$' does not exist on type 'CourseComponent'. #7

Open
aditiC opened this issue Apr 5, 2020 · 0 comments

Comments

@aditiC
Copy link

aditiC commented Apr 5, 2020

Hello Team,

I recently have enrolled to the course of NgRx. I am a student and new to the Angular, so exploring new things. I observed following error while executing the code 1-start, I downloaded the code through zip.

I think we should add loading$: Observable<boolean> in CourseComponent class. I tried this at my end and it worked.

ERROR in src/app/courses/course/course.component.html:7:42 - error TS2339: Property 'loading$' does not exist on type 'CourseComponent'.

7   <div class="spinner-container" *ngIf="(loading$ | async )">
                                           ~~~~~~~~

  src/app/courses/course/course.component.ts:12:16
    12   templateUrl: './course.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component CourseComponent.

Kindly give suggestions on this.

Thank you,
Aditi

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