if we jump to
node_modules/embla-carousel-react/cjs/index.d.ts
on line 1 :
export { EmblaOptionsType, EmblaEventType, EmblaPluginType, EmblaCarouselType } from 'embla-carousel/index.ts';
.
cant find 'embla-carousel/index.ts
...
workaround
by adding "../../"
to point to the 'embla-carousel/index.ts'
changed line 1 to :
export { EmblaOptionsType, EmblaEventType, EmblaPluginType, EmblaCarouselType } from '../../embla-carousel/index.ts';
Bug is related to
problem importing types from embla-carousel-react
if we jump to node_modules/embla-carousel-react/cjs/index.d.ts on line 1 : export { EmblaOptionsType, EmblaEventType, EmblaPluginType, EmblaCarouselType } from 'embla-carousel/index.ts'; . cant find 'embla-carousel/index.ts
...
workaround
by adding "../../" to point to the 'embla-carousel/index.ts'
changed line 1 to : export { EmblaOptionsType, EmblaEventType, EmblaPluginType, EmblaCarouselType } from '../../embla-carousel/index.ts';