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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user