From 5ef49340ec767fff92ab72ab9fdd9090125864b4 Mon Sep 17 00:00:00 2001 From: Shannor Trotty Date: Fri, 3 May 2019 06:04:05 -0400 Subject: [PATCH] Added missing value to to types that supported in the documentation (#35172) See: https://react-slick.neostack.com/docs/example/vertical-mode --- types/react-slick/index.d.ts | 2 ++ types/react-slick/react-slick-tests.tsx | 1 + 2 files changed, 3 insertions(+) diff --git a/types/react-slick/index.d.ts b/types/react-slick/index.d.ts index ba91138017..6d146bf4e8 100644 --- a/types/react-slick/index.d.ts +++ b/types/react-slick/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Andrey Balokha // Giedrius Grabauskas // Andrew Makarov +// Shannor Trotty // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -81,6 +82,7 @@ export interface Settings { useTransform?: boolean; variableWidth?: boolean; vertical?: boolean; + verticalSwiping?: boolean; waitForAnimate?: boolean; } diff --git a/types/react-slick/react-slick-tests.tsx b/types/react-slick/react-slick-tests.tsx index aebcabc81d..ac0d90fe01 100644 --- a/types/react-slick/react-slick-tests.tsx +++ b/types/react-slick/react-slick-tests.tsx @@ -55,6 +55,7 @@ const defaultSettings: Settings = { useCSS: true, variableWidth: false, vertical: false, + verticalSwiping: false, waitForAnimate: true, afterChange: (currentSlide: number) => { }, beforeChange: (currentSlide: number, nextSlide: number) => { },