Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Jul 30, 2021
1 parent ac9cba6 commit 5da260e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const HeaderFilterGroupWrapper = styled.header<{ show: boolean }>`
`;

export interface TGridStandaloneProps {
alertConsumers: ALERTS_CONSUMERS;
alertConsumers: ALERTS_CONSUMERS[];
columns: ColumnHeaderOptions[];
deletedEventIds: Readonly<string[]>;
end: string;
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/timelines/public/container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const initSortDefault = [
},
];

const EMPTY_ARRAY: unknown[] = [];
const EMPTY_ARRAY: ALERTS_CONSUMERS[] = [];
export const useTimelineEvents = ({
alertConsumers = EMPTY_ARRAY,
docValueFields,
Expand Down

0 comments on commit 5da260e

Please sign in to comment.