FuelInteractive / fuel-ui

UI Components for use with Angular2 and Bootstrap4
http://fuelinteractive.github.io/fuel-ui
301 stars 56 forks source link

Carousel compile error #88

Closed henninga closed 8 years ago

henninga commented 8 years ago

Hi

In my app I'm now getting the following messages even though I'm not directly referencing the Carousel component after upgrading to ng2 rc3 and your latest version. Not sure what I'm doing wrong or if there is a bug.

node_modules/fuel-ui/src/components/Carousel/Carousel.ts(150,47): error TS2304: Cannot find name 'Hammer'.
node_modules/fuel-ui/src/components/Carousel/Carousel.ts(151,30): error TS2304: Cannot find name 'Hammer'.
node_modules/fuel-ui/src/components/Carousel/Carousel.ts(152,38): error TS7006: Parameter 'ev' implicitly has an 'any' type.
node_modules/fuel-ui/src/components/Carousel/Carousel.ts(155,37): error TS7006: Parameter 'ev' implicitly has an 'any' type.

Uncommenting the import/export for Carousel in the node module fixes my problem locally.

henninga commented 8 years ago

Never mind. I was missing a reference to hammerjs in my typings file