ERROR in node_modules/@angular/material/dialog/dialog-config.d.ts(9,27): error TS2307: Cannot find module '@angular/cdk/bidi'. code example
Example 1: Cannot find module '@angular/cdk/a11y'
npm install --save @angular/material @angular/cdk
Example 2: node_modules/angularx-flatpickr/flatpickr.module.d.ts:6:64 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
export declare class FlatpickrModule {
static forRoot(userDefaults?: FlatpickrDefaultsInterface): ModuleWithProviders<unknown>;