From c537e44b72f430376856fe2d279ae11e32da1d3a Mon Sep 17 00:00:00 2001 From: arichter83 Date: Wed, 6 Feb 2019 00:07:07 +0100 Subject: [PATCH] Fix linting --- types/react-bootstrap-typeahead/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-bootstrap-typeahead/index.d.ts b/types/react-bootstrap-typeahead/index.d.ts index c4cc65f66a..93fa2c9c6a 100644 --- a/types/react-bootstrap-typeahead/index.d.ts +++ b/types/react-bootstrap-typeahead/index.d.ts @@ -107,7 +107,7 @@ export interface TypeaheadContainerProps { text: string; } -export type TypeaheadResult = T & { customOption: boolean } +export type TypeaheadResult = T & { customOption: boolean }; export interface TypeaheadProps { /* For localized accessibility: Should return a string indicating the number of results for screen readers. @@ -254,7 +254,7 @@ export interface TypeaheadProps { placeholder?: string; /* Callback for custom menu rendering. */ - renderMenu?: (results: TypeaheadResult[], menuProps: any) => React.ReactNode; + renderMenu?: (results: Array>, menuProps: any) => React.ReactNode; /* Provides a hook for customized rendering of menu item contents. */ renderMenuItemChildren?: (option: TypeaheadResult, props: TypeaheadMenuProps, index: number) => React.ReactNode;