Skip to content

Commit ee6328e

Browse files
authored
fix: actually use imported ComponentType
This was reported as unused import, because line 96 used the `React.ComponentType` instead of the imported `ComponentType`.
1 parent ed1e4bd commit ee6328e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface MarkdownProps {
9393
onLinkPress?: (url: string) => boolean;
9494
}
9595

96-
type MarkdownStatic = React.ComponentType<MarkdownProps>;
96+
type MarkdownStatic = ComponentType<MarkdownProps>;
9797
export const Markdown: MarkdownStatic;
9898
export type Markdown = MarkdownStatic;
9999
export {MarkdownIt};

0 commit comments

Comments
 (0)