Typescript code:
import { Injectable } from \'@angular/core\';
import { Observable } from \'rxjs/Observable\';
import { of
The angular-split
component is not supported in Angular 6, so to make it compatible with Angular 6 install following dependency in your application
To get this working until it's updated use:
"dependencies": {
"angular-split": "1.0.0-rc.3",
"rxjs": "^6.2.2",
"rxjs-compat": "^6.2.2",
}
Just put:
import { Observable} from 'rxjs';
Just like that. Nothing more or less.