Я обновил до Angular 6. Не установил rxjs-compat.Измените в моем коде
import {Observable} from "rxjs/Observable";
на
import {Observable} from "rxjs";
и так далее.
Но если я делаю подачу, я получаю ошибку
ERROR in node_modules/primeng/components/accordion/accordion.d.ts(4,10): error TS2305: Module '"../JetBrains/WebstormProjects/test5/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/primeng/components/common/confirmationservice.d.ts(1,10): error TS2305: Module '"../JetBrains/WebstormProjects/test5/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/primeng/components/common/messageservice.d.ts(1,10): error TS2305: Module '".../JetBrains/WebstormProjects/test5/node_modules/rxjs/Observable"' has no exported member 'Observable'.
...
и так далее.
Как исправить эти ошибки?