I have migrated an Angular 8 project to Angular 9 but the datepicker is giving errors. I have:
this._datepicker._registerInput is not a function at MatDat