I am trying to use 'dom-autoscroller' along with dragula in my angular4/typescript(v2.5) project. I have successfully installed 'dom-autoscroller' npm package but when I try to import AutoScrollerFactory or autoScroll function using following lines, I get the 'Can not find module' error:
- import AutoScrollerFactory from 'dom-autoscroller/dist/bundle.es';
- import * as autoScroll from 'dom-autoscroller';
Need to note that I am using VS2015 and the error is shown when the mouse hovered above the 'dom-autoscroller' text.
Any help would be appreciated