Full Calendar- V5 How to use datesSet in Angular?

I’ve tried to use datesSet in HTMl. But datesSet is not triggering. What am I missing here.

HTML:

    <full-calendar #calendar style="max-height: 100vh;" [options]='calendarOptions'
        (datesSet)="datesSet($event)"
    ></full-calendar>

TS:

     datesSet(event: any) {  
      debugger;
      Console.log(event);
      }
   

Thanks.

Source: Angular Questions