Angular js 2 'node_modules/rxjs/Observable"' has no exported member 'Observable'. import Observable

后端 未结 7 1516
渐次进展
渐次进展 2021-02-07 22:48

I am Getting below Error in Auth.d.ts file in Node_Modules Package.

[ts] Module \'node_modules/rxjs/Observable\"\' has no exported member \'Observable\'. import Observab

7条回答
  •  感情败类
    2021-02-07 23:16

    If you are using angular version 6 then You can use

    // creation and utility methods

    import { Observable, Subject, pipe } from 'rxjs';
    

    // operators all come from rxjs/operators

    import { map, takeUntil, tap } from 'rxjs/operators';
    

提交回复
热议问题