angular - Using rx-dom with system.js -


i trying include rx-dom (https://github.com/reactive-extensions/rxjs-dom) angular 2 (with systemjs) application. here steps have taken far:

  1. npm install rx-dom
  2. in systemjs.config.js added 'rx-dom': 'npm:rx-dom'
  3. and also: 'rx-dom': { main: './dist/rx.dom.min.js', defaultextension: 'js' }

in component, adding module as: import * rxdom 'rx-dom';

at point error saying: could not find declaration file module 'rx-dom'. ...index.js implicitly has 'any' type

in documentation load js file directly html file.

am adding wrong using systemjs? if so, correct way?

thanks.


Comments