TypeError: Unable to read property 'visitStatement undefined in angular2

In my angular2 application, the following error appears.

TypeError: cannot read property 'visitStatement undefined

+6
source share
1 answer

You get this problem when you have an empty event handler,

(click)="" 

How to get rid of an empty event handler this problem will be fixed.

Link:

+18
source

All Articles