diff --git a/types/index.d.ts b/types/index.d.ts index 5638f414..25a14dcc 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -174,7 +174,7 @@ declare namespace jest { /** * Use `.toHaveBeenCalledOnceWith` to check if a `Mock` was called exactly one time with the expected value. */ - toHaveBeenCalledOnceWith(): R; + toHaveBeenCalledOnceWith(...args: unknown[]): R; /** * Use `.toBeNumber` when checking if a value is a `Number`.