I try to use the Ngx-admin and set the themes but I've got the error: Type 'ModuleWithProviders' must have a 'Symbol.iterator' method that returns an iterator.ts(2488) how can I fix this error? plaese help me
export class ThemeModule {
static forRoot(): ModuleWithProviders<ThemeModule> {
return {
ngModule: ThemeModule,
providers: [
...NbThemeModule.forRoot(
{
name: 'default',
},
[DEFAULT_THEME, COSMIC_THEME, DARK_THEME],
null,
NbLayoutDirection.RTL
),
],
};
}
}