From 9786a8c8e490a0c9439e080c4d1ccdf328a9c7e9 Mon Sep 17 00:00:00 2001 From: arichter83 Date: Wed, 5 Dec 2018 13:51:45 +0100 Subject: [PATCH] Minor additions to Highlighter --- types/react-bootstrap-typeahead/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-bootstrap-typeahead/index.d.ts b/types/react-bootstrap-typeahead/index.d.ts index 2c0495ce03..52f99825d5 100644 --- a/types/react-bootstrap-typeahead/index.d.ts +++ b/types/react-bootstrap-typeahead/index.d.ts @@ -191,8 +191,9 @@ export interface AsyncTypeaheadProps extends TypeaheadProps { export const AsyncTypeahead: React.ClassicComponentClass>; export interface HighligherProps { - key: string; + key?: string; search: string; + optionId?: any; } export const Highlighter: React.ClassicComponentClass>;