From 149f1f8ad24bdb4e540a4807f01ac0d4b6a84a61 Mon Sep 17 00:00:00 2001 From: Andreas Bichinger Date: Thu, 1 Feb 2024 13:58:35 +0100 Subject: [PATCH] Update type definition of `AnimationItem.resize` --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index a018fbc7a..bbab3719f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -84,7 +84,7 @@ export type AnimationItem = { resetSegments(forceFlag: boolean): void; hide(): void; show(): void; - resize(): void; + resize(width?: number, height?: number): void; setSpeed(speed: number): void; setDirection(direction: AnimationDirection): void; setLoop(isLooping: boolean): void;