after updating to 3.7.0 I am getting these errors now
typescript: …ocuments/harvey-tool-ui/node_modules/ionic-native/node_modules/rxjs/Subject.d.ts, line: 16
Class ‘Subject’ incorrectly extends base class ‘Observable’. Types of property ‘lift’ are
incompatible. Type ‘(operator: Operator<T, R>) => Observable’ is not assignable to type ‘(operator:
Operator<T, R>) => Observable’. Type ‘Observable’ is not assignable to type ‘Observable’. Type 'T’
is not assignable to type ‘R’.
export declare class Subject extends Observable implements ISubscription {
observers: Observer[];
typescript: …node_modules/ionic-native/node_modules/rxjs/observable/dom/WebSocketSubject.d.ts, line: 23
Class ‘WebSocketSubject’ incorrectly extends base class ‘AnonymousSubject’. Types of property ‘lift’
are incompatible. Type ‘(operator: Operator<T, R>) => WebSocketSubject’ is not assignable to type
’(operator: Operator<T, R>) => Observable’. Type ‘WebSocketSubject’ is not assignable to type
’Observable’. Types of property ‘operator’ are incompatible. Type ‘Operator<any, R>’ is not assignable to
type ‘Operator<any, T>’. Type ‘R’ is not assignable to type ‘T’.
export declare class WebSocketSubject extends AnonymousSubject {
url: string;
I read somewhere that I might need to up date my typescript but my typescript is at the latest version already, so i am not sure what is the problem, here is my package.json
{
“name”: “x-tool”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
"@angular/animations": “^4.3.3”,
"@angular/cdk": “^2.0.0-beta.8”,
"@angular/common": “^4.3.3”,
"@angular/compiler": “^4.3.3”,
"@angular/core": “^4.3.3”,
"@angular/forms": “^4.3.3”,
"@angular/http": “^4.3.3”,
"@angular/material": “^2.0.0-beta.8”,
"@angular/platform-browser": “^4.3.3”,
"@angular/platform-browser-dynamic": “^4.3.3”,
"@angular/platform-server": “^4.3.3”,
"@angular/router": “^4.3.3”,
"@angular/tsc-wrapped": “^4.3.3”,
"@ionic-native/core": “^4.1.0”,
"@ionic-native/deeplinks": “^4.1.0”,
"@ionic-native/splash-screen": “4.1.0”,
"@ionic-native/status-bar": “4.1.0”,
"@ionic/storage": “^2.0.1”,
"@types/angular": “^1.6.28”,
“angular-material”: “^1.1.4”,
“autoprefixer”: “^7.1.2”,
“cordova”: “^7.0.1”,
“cordova-android”: “^6.2.3”,
“cordova-browser”: “^4.1.0”,
“cordova-ios”: “^4.4.0”,
“cordova-plugin-console”: “^1.0.7”,
“cordova-plugin-device”: “^1.1.6”,
“cordova-plugin-splashscreen”: “^4.0.3”,
“cordova-plugin-statusbar”: “^2.2.3”,
“cordova-plugin-whitelist”: “^1.3.2”,
“ionic-angular”: “^3.6.0”,
“ionic-cache”: “^2.0.5”,
“ionic-native”: “^2.9.0”,
“ionic-plugin-deeplinks”: “^1.0.15”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“lodash”: “^4.17.4”,
“ng2-cache-service”: “^1.1.1”,
“rxjs”: “^5.4.2”,
“sw-toolbox”: “^3.6.0”,
“typings”: “^2.1.1”,
“zone.js”: “0.8.16”
},
“devDependencies”: {
"@angular/compiler-cli": “^4.3.3”,
"@ionic/app-scripts": “2.1.3”,
"@ionic/cli-plugin-cordova": “1.6.1”,
"@ionic/cli-plugin-ionic-angular": “1.4.1”,
“ionic”: “^3.7.0”,
“typescript”: “^2.5.0-dev.20170801”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-console”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-statusbar”: {},
“cordova-plugin-whitelist”: {},
“ionic-plugin-keyboard”: {},
“ionic-plugin-deeplinks”: {
“URL_SCHEME”: “myapp”,
“DEEPLINK_SCHEME”: “https”,
“DEEPLINK_HOST”: “example.com”,
“ANDROID_PATH_PREFIX”: “/”,
“ANDROID_2_PATH_PREFIX”: “/”,
“ANDROID_3_PATH_PREFIX”: “/”,
“ANDROID_4_PATH_PREFIX”: “/”,
“ANDROID_5_PATH_PREFIX”: “/”,
“DEEPLINK_2_SCHEME”: " ",
“DEEPLINK_2_HOST”: " ",
“DEEPLINK_3_SCHEME”: " ",
“DEEPLINK_3_HOST”: " ",
“DEEPLINK_4_SCHEME”: " ",
“DEEPLINK_4_HOST”: " ",
“DEEPLINK_5_SCHEME”: " ",
“DEEPLINK_5_HOST”: " "
}
},
“platforms”: [
“android”,
“browser”,
“desktop”,
“ios”
]
},
“config”: {
“ionic_copy”: “./config/copy.config.js”
}
}
If anyone can help, thanks