Skip to content

Commit

Permalink
[field] Add return type to DiffAnnotationTooltipContent
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2020
1 parent 3110143 commit 1c656d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function DiffAnnotationTooltipContent({
}: {
annotations: AnnotationDetails[]
description?: React.ReactNode | string
}) {
}): React.ReactElement {
return (
<div className={styles.root}>
{typeof description === 'string' ? (
Expand Down

0 comments on commit 1c656d4

Please sign in to comment.