Hey,
Would anyone know why I am getting the following error using the RxJS timeout function:
[ng] ERROR in src/app/providers/access-providers.ts(25,6): error TS2339: Property ‘timeout’ does not exist on type ‘Observable’."
Using it like:
return this.http.post(this.server + file, JSON.stringify(body), options)
.timeout(59000) // 59 SECOND timeout
.map(res => res);
}
Using the following packages:
Package Version
@angular-devkit/architect 0.803.21
@angular-devkit/core 8.3.21
@angular-devkit/schematics 8.3.21
@angular/cli 8.3.21
@angular/core 8.2.14
@schematics/angular 8.3.21
@schematics/update 0.803.21
rxjs 6.4.0
Thanks,
Andy