From c52bfaf2157100194a576896892c1e697df2c96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=81rio=20Gonc=CC=A7alves?= Date: Wed, 14 Feb 2018 18:34:29 +0000 Subject: [PATCH] [jest] updated toHaveProperty method of Matchers --- types/jest/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index e0d73d5c9e..f83c386d09 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -470,7 +470,7 @@ declare namespace jest { * and it is set to a certain numeric value. */ toHaveLength(expected: number): R; - toHaveProperty(propertyPath: string, value?: any): R; + toHaveProperty(propertyPath: string | any[], value?: any): R; /** * Check that a string matches a regular expression. */