diff --git a/types/testing-library__jest-dom/index.d.ts b/types/testing-library__jest-dom/index.d.ts index 35c1f4b299debda..c8609ed43b354e2 100644 --- a/types/testing-library__jest-dom/index.d.ts +++ b/types/testing-library__jest-dom/index.d.ts @@ -292,7 +292,7 @@ declare namespace jest { * @see * [testing-library/jest-dom#tohavedisplayvalue](https:github.com/testing-library/jest-dom#tohavedisplayvalue) */ - toHaveDisplayValue(value: string | RegExp | (string|RegExp)[]): R; + toHaveDisplayValue(value: string | RegExp | Array): R; /** * @description * Assert whether an element has focus or not.