Need to define what file we're importing. Getting an error when trying to compile: "error TS2307: Cannot find module '../..'." (#29754)

This commit is contained in:
Michael Read
2018-10-15 13:26:08 -07:00
committed by Sheetal Nandi
parent 3e8e17c51b
commit 9ff41e1480
+2 -2
View File
@@ -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 };
/*