1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 15:24:04 +02:00

build(#10336): fix missing type definition

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-31 16:34:54 +09:00
parent bf9846a269
commit 558d73b21a
5 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
/// <reference types="@testing-library/jest-dom"/>
export async function tick(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
await new Promise((globalThis.requestIdleCallback ?? setTimeout) as never);