mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Merge pull request #21752 from KennethanCeyer/feature/change-owl-carousel-type
fix the wrong type of owl.carousel
This commit is contained in:
5
types/owl.carousel/index.d.ts
vendored
5
types/owl.carousel/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
// Type definitions for owl.carousel 2.2
|
||||
// Project: https://github.com/OwlCarousel2/OwlCarousel2
|
||||
// Definitions by: Ismael Gorissen <https://github.com/igorissen>
|
||||
// Kenneth Ceyer <https://github.com/KennethanCeyer>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -36,8 +37,8 @@ declare namespace OwlCarousel {
|
||||
autoplay?: boolean;
|
||||
autoplayTimeout?: number;
|
||||
autoplayHoverPause?: boolean;
|
||||
smartSpeed?: boolean;
|
||||
fluidSpeed?: boolean;
|
||||
smartSpeed?: number | boolean;
|
||||
fluidSpeed?: number | boolean;
|
||||
autoplaySpeed?: number | boolean;
|
||||
navSpeed?: number | boolean;
|
||||
dotsSpeed?: number | boolean;
|
||||
|
||||
Reference in New Issue
Block a user