From f3069ad881b89b1c603756bbbe3ddb1ea8fe5581 Mon Sep 17 00:00:00 2001 From: Alireza Ghamkhar Date: Tue, 11 Aug 2020 19:59:28 +0430 Subject: [PATCH] Fix the type bug for queryAllByTestId --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 8c483b40b..074a178aa 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -70,7 +70,7 @@ interface QueryByAPI { ) => ReactTestInstance | null; queryByDisplayValue: (value: string | RegExp) => ReactTestInstance | null; queryByTestId: (testID: string) => ReactTestInstance | null; - queryAllByTestId: (testID: string) => Array | null; + queryAllByTestId: (testID: string) => Array | []; queryAllByText: (text: string | RegExp) => Array | []; queryAllByPlaceholderText: ( placeholder: string | RegExp