mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
rename folder to make it work for Swiper 5.x (#39968)
This commit is contained in:
parent
bb846d4225
commit
20d3870dc8
2
types/swiper/index.d.ts
vendored
2
types/swiper/index.d.ts
vendored
@ -1126,7 +1126,7 @@ import {
|
||||
EffectCube,
|
||||
EffectFlip,
|
||||
EffectCoverflow
|
||||
} from './dist/js/swiper.esm';
|
||||
} from './js/swiper.esm';
|
||||
|
||||
/**
|
||||
* Core module
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
import Swiper, { DOM7Element } from '../../index';
|
||||
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 '../../index';
|
||||
export * from '../index';
|
||||
export { Swiper };
|
||||
|
||||
/*
|
||||
@ -4,7 +4,7 @@
|
||||
* @author Eugene Matseruk
|
||||
*/
|
||||
import Swiper from 'swiper';
|
||||
import { Swiper as SwiperESM, Navigation, History } from 'swiper/dist/js/swiper.esm';
|
||||
import { Swiper as SwiperESM, Navigation, History } from 'swiper/js/swiper.esm';
|
||||
|
||||
const containerSelector = '.swiper-container';
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"dist/js/swiper.esm.d.ts",
|
||||
"js/swiper.esm.d.ts",
|
||||
"swiper-tests.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user