How to add injection when I overwrite provider with parameters in constructor?

183 Views Asked by At

I'm overwriting RequestOptions for my application by doing something like:

export class RequestOptionsService extends RequestOptions {
  ...
}

and after:

{ provide: RequestOptions, useClass: RequestOptionsService },

Now I would like to inject another service inside my child -RequestOptionsService, but the problem is that there is parameter(not dependancy injection one) inside RequestOptions:

enter image description here

how will it reflect to my RequestOptionsService child?

0

There are 0 best solutions below