From b3c52d402ba8a2a1cca24bb67eabfcb6384531f0 Mon Sep 17 00:00:00 2001 From: Hossein Zare Date: Fri, 8 Apr 2022 04:37:56 +0430 Subject: [PATCH] Update SELECTED_ITEMS_COUNT_TEXT typedef. --- index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 50621112..9beba118 100644 --- a/index.d.ts +++ b/index.d.ts @@ -75,7 +75,9 @@ declare module 'react-native-dropdown-picker' { export interface TranslationInterface { PLACEHOLDER: string; SEARCH_PLACEHOLDER: string; - SELECTED_ITEMS_COUNT_TEXT: string; + SELECTED_ITEMS_COUNT_TEXT: string | { + [key in (number | "n")]: string; + }; NOTHING_TO_SHOW: string; }