Skip to content

Commit

Permalink
Fix typing to accurately reflect ...rest spread
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Oct 18, 2024
1 parent 86a1f4b commit 13c0e2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/eui/src/components/comment_list/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import React, { FunctionComponent } from 'react';
import classNames from 'classnames';
import { EuiTimelineItem } from '../timeline';
import { EuiTimelineItem, EuiTimelineItemProps } from '../timeline';
import { EuiCommentEvent, EuiCommentEventProps } from './comment_event';
import {
EuiCommentTimeline,
Expand All @@ -17,7 +17,8 @@ import {

export interface EuiCommentProps
extends EuiCommentEventProps,
EuiCommentTimelineProps {}
EuiCommentTimelineProps,
Omit<EuiTimelineItemProps, 'icon' | 'children'> {}

export const EuiComment: FunctionComponent<EuiCommentProps> = ({
children,
Expand Down

0 comments on commit 13c0e2e

Please sign in to comment.