From c35f77042e13e36642e0fa21c8043acabeed9e94 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Mon, 8 Jul 2019 22:10:40 +0100 Subject: [PATCH] Allow `addKeys` to be `string[]` (#36721) --- types/react-tagsinput/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-tagsinput/index.d.ts b/types/react-tagsinput/index.d.ts index 8b0b8e7ebb..96f21fcb20 100644 --- a/types/react-tagsinput/index.d.ts +++ b/types/react-tagsinput/index.d.ts @@ -49,7 +49,7 @@ declare namespace TagsInput { value: Tag[]; onChange: (tags: Tag[], changed: Tag[], changedIndexes: number[]) => void; onChangeInput?: (value: string) => void; - addKeys?: number[]; + addKeys?: number[] | string[]; currentValue?: string; inputValue?: string; onlyUnique?: boolean;