I ran the command npm install --save hammerjs
and also put import 'hammerjs';
inside my main.ts.
However when I write for instance
var test = document.getElementById('test');
var hammer = new Hammer(test);
I get the following error "Cannot find name 'Hammer'. Did you mean 'hammer'?"
The auto fill provides me with the following options, but not Hammer.
HammerGestureConfig, HammerGesturePlugin, Hammer_Gesture_Config, Hammer_Loader
What am I missing? Did I forget to run a command to install something?
Thanks, Much appreciated.