Allow addKeys to be string[] (#36721)

This commit is contained in:
Oliver Joseph Ash
2019-07-08 14:10:40 -07:00
committed by Armando Aguirre
parent bdb71cddca
commit c35f77042e
+1 -1
View File
@@ -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;