title: ERROR in node_modules/ng2-toastr/src/toast-container.component.d.ts(1,48): TS2305- /node_modules/@angular/core/core"' has no exported member
body: <p>I have the latest version of <code>"rxjs": "^6.0.0"</code>  and <code>@angular/cli": "~6.0.8"</code>
  When i run <code>ng serve</code> i am receiving below compilation error-</p>
  
  <pre><code>ERROR in node_modules/ng2-toastr/src/toast-container.component.d.ts(1,48): 
   /node_modules/@angular/core/core"' has no exported member'AnimationTransitionEvent'.
  
  imported toastermodule in the below format in my app.module.ts
  import {ToastrModule} from 'ngx-toastr';
  </code></pre>
  
  <p>Also receiving below error</p>
  
  <pre><code>error TS2305: Module '"C:/Users/user1/Sublime Text 3/NodeJS/groupchat-application/node_modules/rxjs/Observable"' has no exported member 'Observable'.
  node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
  imported as below in  My service.ts
  import { Observable, of} from "rxjs"; 
  </code></pre>
  
  <p>Please guide on how to proceed</p>