Check out example codes for "node_modules/angularx-flatpickr/flatpickr.module.d.ts:6:64 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).". It will help you in understanding the concepts better.

Code Example 1

export declare class FlatpickrModule {
   static forRoot(userDefaults?: FlatpickrDefaultsInterface): ModuleWithProviders<unknown>;

Learn ReactJs, React Native from akashmittal.com