diff --git a/integration-tests/tests/src/typings.d.ts b/integration-tests/tests/src/typings.d.ts index aef8b05e3f..9d6c5ea921 100644 --- a/integration-tests/tests/src/typings.d.ts +++ b/integration-tests/tests/src/typings.d.ts @@ -191,6 +191,9 @@ declare namespace Chai { /** Calls the callback on the next tick of the event loop */ declare function setImmediate(cb: () => void): void; +/** Rough typing of setTimeout to avoid type errors */ +declare function setTimeout(cb: (args: any[]) => void, timeout: number): any; + interface Console { error(message?: unknown, ...optionalParams: unknown[]): void; log(message?: unknown, ...optionalParams: unknown[]): void;