From 6de2de89d893a01a69447026d56e532abcea5874 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Fri, 1 Sep 2017 15:22:30 +0900 Subject: [PATCH] Change type with omitted prop --- types/react-bootstrap/lib/Carousel.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-bootstrap/lib/Carousel.d.ts b/types/react-bootstrap/lib/Carousel.d.ts index 770c87540b..cef9214064 100644 --- a/types/react-bootstrap/lib/Carousel.d.ts +++ b/types/react-bootstrap/lib/Carousel.d.ts @@ -4,7 +4,7 @@ import * as CarouselItem from './CarouselItem'; import * as CarouselCaption from './CarouselCaption'; declare namespace Carousel { - export interface CarouselProps extends Omit, 'wrap'> { + export type CarouselProps = Omit, 'wrap'> & { activeIndex?: number; bsSize?: Sizes; bsStyle?: string; @@ -21,7 +21,7 @@ declare namespace Carousel { prevIcon?: React.ReactNode; slide?: boolean; wrap?: boolean; - } + }; } declare class Carousel extends React.Component { public static Caption: typeof CarouselCaption;