@anton_klochko wrote:
Good day !
Since I updated my project to 4.0.0-beta.12 I have been getting the following error.
ERROR in src/app/pages/deactivate-device/deactivate-device.ts(171,53): error TS2
339: Property ‘timeout’ does not exist on type ‘Observable <Response’.I add to page.
import {timeout} from ‘rxjs/operators’;
I use.
this.http.post(this.actions, data).timeout(40000).subscribe(serverData => {
}, err => { }
ionic info:
Ionic:
ionic (Ionic CLI) : 4.2.1 (C:\Users\anton\AppData\Roaming\npm\nod
e_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.12
@angular-devkit/build-angular : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli : 6.1.5
@ionic/angular-toolkit : not installedCordova:
cordova (Cordova CLI) : 7.1.0
Cordova Platforms : not available
Cordova Plugins : not availableSystem:
(C:\Users\AppData\Local\Android\sdk)
NodeJS : v8.12.0 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 7
Posts: 2
Participants: 2