Encountered an issue
Error TS4025: Exported variable 'UserApiClientModule' has or is using private name 'UserApiClient'.
Here's the code causing the error:
export var UserApiClientModule = {
fromConfiguration: (configuration: Configuration) => {
@NgModule({
providers: [
{
provide: BASE_PATH,
useValue: basePath
},
{
provide: Configuration,
useValue: configuration
},
RegistrationApi,
AuthApi,
AccountApi,
ContactsApi,
ContactOrgsApi
],
imports: [
CommonModule,
HttpModule
]
})
class UserApiClient { }
return UserApiClient;
}
}
The potential solution might involve exporting the type UserApiClient in a different manner due to its declaration within a function.