I have implemented code of angular calendar in my project mentioned in link - https://mattlewis92.github.io/angular-calendar/#/kitchen-sink.
The code is running fine in Stackblitz but when I copied the same code in my project, I am getting following error at this line:
@ViewChild('modalContent', { static: true }) modalContent: TemplateRef;
Error message is as follow-
Argument of type '{ static: boolean; }' is not assignable to parameter of type '{ read?: any; }'. Object literal may only specify known properties, and 'static' does not exist in type '{ read?: any; }'
Can anyone please suggest how to solve this error.