Angular - “has no exported member 'Observable'”

后端 未结 14 1908
陌清茗
陌清茗 2020-12-12 11:16

Typescript code:

import { Injectable } from \'@angular/core\';
import { Observable } from \'rxjs/Observable\';
import { of         


        
14条回答
  •  臣服心动
    2020-12-12 12:00

    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",
    }
    

提交回复
热议问题