I recently added the zepto
and @types/zepto
packages to my npm modules. Strangely, when I install both of them and try to import Zepto like this:
import * as $ from 'zepto';
It works perfectly fine without any issues. However, if I include @types/zepto
along with it, something seems to go wrong. It gives me an error stating that "@types/zepto/index.d.ts
is not module". How can I properly load the type definitions for Zepto?