From 6220c2270afe927f8a914386c76a0788a45de052 Mon Sep 17 00:00:00 2001 From: Igor Tarasov Date: Fri, 12 Aug 2022 15:42:07 +0300 Subject: [PATCH] fix(types): add missing AutoplayMethods members (#5956) --- src/types/modules/autoplay.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/types/modules/autoplay.d.ts b/src/types/modules/autoplay.d.ts index 40d25034a..1f96c9fd9 100644 --- a/src/types/modules/autoplay.d.ts +++ b/src/types/modules/autoplay.d.ts @@ -6,6 +6,21 @@ export interface AutoplayMethods { */ running: boolean; + /** + * Whether autoplay is paused + */ + paused: boolean; + + /** + * Pause autoplay + */ + pause(speed?: number): void; + + /** + * Run the autoplay logic + */ + run(): void; + /** * Start autoplay */