Angular - How to fix 'property does not exist on type' error?

后端 未结 5 1586
面向向阳花
面向向阳花 2020-12-29 21:42

I am following this video tutorial (text version of the same). I have followed exactly the same code and I am receiving this error:

error TS2339: Prop

5条回答
  •  别那么骄傲
    2020-12-29 21:49

    If all things mentioned above checked, check

    constructor(private _employeeService: EmployeeService) { }

    private, the access specifier is there. The same issue will occur when access specifier missed.

提交回复
热议问题