mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-30 11:57:35 +08:00
chore: animate also accepts strings
This commit is contained in:
parent
62ef8564a6
commit
be73085b2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue