Skip to content

Commit

Permalink
Fix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
bevacqua committed May 2, 2019
1 parent 4e21765 commit f43e98d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/stat/stat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { EuiText } from '../text';
import { EuiTitle, EuiTitleSize } from '../title/title';
import { EuiI18n } from '../i18n';
import makeId from '../form/form_row/make_id';
import { Omit } from '../common';

const colorToClassNameMap = {
default: null,
Expand Down Expand Up @@ -55,7 +56,7 @@ export interface EuiStatProps {
}

export const EuiStat: FunctionComponent<
CommonProps & HTMLAttributes<HTMLDivElement> & EuiStatProps
CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & EuiStatProps
> = ({
children,
className,
Expand Down

0 comments on commit f43e98d

Please sign in to comment.