diff --git a/types/bootstrap/bootstrap-tests.ts b/types/bootstrap/bootstrap-tests.ts index f0a353889c..f0bbbea7f2 100755 --- a/types/bootstrap/bootstrap-tests.ts +++ b/types/bootstrap/bootstrap-tests.ts @@ -56,6 +56,10 @@ $("#carousel").carousel({ pause: false, }); +$("#carousel").carousel({ + interval: false, +}); + // -------------------------------------------------------------------------------------- // Collapse // -------------------------------------------------------------------------------------- diff --git a/types/bootstrap/index.d.ts b/types/bootstrap/index.d.ts index bba7b71c59..8a815bccd5 100755 --- a/types/bootstrap/index.d.ts +++ b/types/bootstrap/index.d.ts @@ -46,7 +46,7 @@ export interface CarouselOption { * * @default 5000 */ - interval?: number; + interval?: false | number; /** * Whether the carousel should react to keyboard events.