Configuration class from runtime.ts doesn't transpile if tsconfig.ts set to strict: true.
Specifically, | undefined should be added to these methods:
...
get headers(): HTTPHeaders | undefined {
return this.configuration.headers;
}
get credentials(): RequestCredentials | undefined {
return this.configuration.credentials;
}
...