opdahlmann / ng2-opd-popup-sample

4 stars 13 forks source link

Includin in app.module.ts error #20

Open shashiece opened 6 years ago

shashiece commented 6 years ago

Below error when including in app.module.ts

import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core';

import { AppComponent } from './app.component'; import {PopupModule} from 'ng2-opd-popup';

@NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, PopupModule.forRoot() ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }

ERROR in node_modules/ng2-opd-popup/node_modules/rxjs/Subject.d.ts(16,22): error TS2415: 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'.

iamsrivastava commented 6 years ago

is there any solution there, I am getting the same error.