Skip to content

Commit 7512f14

Browse files
christopherthielenmergify[bot]
authored andcommitted
fix(typescript): Type onClick as MouseEventHandler<any>.
1 parent 611672b commit 7512f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/UISref.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface UISrefProps {
2626
}
2727

2828
export interface LinkProps {
29-
onClick: React.MouseEventHandler;
29+
onClick: React.MouseEventHandler<any>;
3030
href?: string;
3131
}
3232

0 commit comments

Comments
 (0)