chore: animate also accepts strings

This commit is contained in:
Miodec 2025-11-28 21:41:46 +01:00
parent 62ef8564a6
commit be73085b2a

View file

@ -442,7 +442,7 @@ export type JQueryEasing =
| "easeInOutBounce";
export async function promiseAnimate(
el: HTMLElement,
el: HTMLElement | string,
options: AnimationParams,
): Promise<void> {
return new Promise((resolve) => {