i trying include rx-dom (https://github.com/reactive-extensions/rxjs-dom) angular 2 (with systemjs) application. here steps have taken far:
- npm install rx-dom
- in systemjs.config.js added 'rx-dom': 'npm:rx-dom'
- 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
Post a Comment