I have two classes in Angular 4 that are related by inheritance, however doing build gives an error:
error TS2554: Expected 5 arguments, but got 0.
Parent class:
constructor(protected http: Http,
private router: Router,
protected jwtToken: JwtTokenService,
private loadingService: LoadingService,
protected requestOptions: DefaultRequestOptionsService) {}
Son Class:
constructor(private localStorage: LocalStorageService,
protected jwtToken: JwtTokenService,
protected http: Http) {
super();
this.check = this.jwtToken.token ? true : false;
}