Embla-carousel: Type definition file refers to files that don't exist in the build

Created on 9 Jul 2020  路  3Comments  路  Source: davidcetinkaya/embla-carousel

The index.d.ts file that is generated refers to files in the vanilla folder.
This folder does not exist anymore in the npm package.
Therefore the typings break.

bug resolved typescript

All 3 comments

Hello @korsvanloon,

Thank you for reporting this. You鈥檙e right, it鈥檚 because the folder is not included in the files array in package.json, but it should be there.

I鈥檒l release a patch fix as soon as possible and will let you know when it鈥檚 ready to consume.

Kindly,
David

Hi again @korsvanloon,
Release v.3.0.17 should include the missing type definition files. Enjoy!

Best,
David

Very quickly! Thank you so much!

Was this page helpful?
0 / 5 - 0 ratings