From 9ff41e14801de520e94960e63a492806c9da9981 Mon Sep 17 00:00:00 2001 From: Michael Read Date: Mon, 15 Oct 2018 15:26:08 -0500 Subject: [PATCH] Need to define what file we're importing. Getting an error when trying to compile: "error TS2307: Cannot find module '../..'." (#29754) --- types/swiper/dist/js/swiper.esm.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/swiper/dist/js/swiper.esm.d.ts b/types/swiper/dist/js/swiper.esm.d.ts index 32ee3b5815..8d0c49dd4b 100644 --- a/types/swiper/dist/js/swiper.esm.d.ts +++ b/types/swiper/dist/js/swiper.esm.d.ts @@ -1,9 +1,9 @@ -import Swiper, { DOM7Element } from '../..'; +import Swiper, { DOM7Element } from '../../index'; // Reexport everything from `swiper` except the default export of the // `Swiper` class, which is instead provided as a named export by // `swiper.esm`. -export * from '../..'; +export * from '../../index'; export { Swiper }; /*