Reputation: 1516
Im trying to import typings for swiper to angular2.
I've installed swiper and its typings via npm, but in my component when I include swiper
import { Swiper } from 'swiper';
atom shows error:
path/../@types/swiper/index.d.ts is not a module
Is it possible that the typings are badly declared or is it my fault?
Upvotes: 3
Views: 849
Reputation: 194
When it comes to module errors the 1.2.3 is:
Upvotes: 0