Skip to content

Commit

Permalink
fix: update typescript definitions for handleEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Jun 29, 2020
1 parent b38adc1 commit 4214670
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FormFieldTemplate from 'containers/Forms/FormFieldTemplate';
import FormObjectFieldTemplate from 'containers/Forms/FormObjectFieldTemplate';

interface Props {
handleEvent: (action: string, value?: string) => Promise<void>;
handleEvent: (action: string, value?: string) => any;
dropdownSortItems: string[];
displayNameToColumnNameMap: object;
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/SearchTableLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Container, Row, Col, Table} from 'react-bootstrap';
import SortableTableHeader from 'components/SortableTableHeader';
import SearchBox from 'components/SearchBox';
interface Props {
handleEvent: (...args: any[]) => void;
handleEvent: (action: string, value?: string) => any;
handleSelectAll?: (...args: any[]) => void;
allSelected?: boolean;
displayNameToColumnNameMap: any;
Expand Down

0 comments on commit 4214670

Please sign in to comment.