While doing "ng build", I am facing the below errors.
ERROR in node_modules/@angular-material-components/datetime-picker/lib/datetime-picker.component.d.ts:52:22 - error TS2420: Class 'NgxMatDatetimePicker' incorrectly implements interface 'CanColor'.
and
node_modules/@angular/material/core/common-behaviors/color.d.ts:15:5 15 defaultColor: ThemePalette | undefined; ~~~~~~~~~~~~ 'defaultColor' is declared here.