Directly below the imports section, add the following lines:

import { DnnDevSettings } from './dev/dnn-dev-settings'
import { RuntimeSettings } from '@2sic.com/dnn-sxc-angular'
import { environment } from './../environments/environment';

const providers: Provider[] = [
  DnnInterceptor
];

if (!environment.production) {
  providers.push({ provide: RuntimeSettings, useValue: DnnDevSettings });
}


Add Provider to the imports from @angular/core:

import { NgModule, Provider } from '@angular/core';


In the @NgModule Attribute, replace the providers attribute with:

providers: providers,

The resulting file should look approximately like this template file