- Forums
- Angular
- Angular [2020] - WHy I am getting: ERROR TypeError: _co.
I FIX see this error: ERROR TypeError: _co.Quiz is undefined [4813], Last Updated: Mon Jun 24, 2024
angular2020
Sun May 03, 2020
0 Comments
727 Visits
To fix this console error in my developers: ERROR TypeError: "_co.Quiz is undefined"
To fix this erro I simply moved the variable from within the class to outside my class;
OLD:
export class HomePage {
Quiz:any;
NEW:
export class HomePage {
Quiz:any = '';
Not getting error anymore