Skip to content

Commit

Permalink
Pass generic to HTMLAttributes in Link typings (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpzomtrrfrt authored May 14, 2023
1 parent f558b75 commit baf4bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion match/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class Match extends preact.Component<RoutableProps, {}> {
render(): preact.VNode;
}

export interface LinkProps extends preact.JSX.HTMLAttributes {
export interface LinkProps extends preact.JSX.HTMLAttributes<HTMLAnchorElement> {
activeClassName?: string;
children?: preact.ComponentChildren;
}
Expand Down

0 comments on commit baf4bf9

Please sign in to comment.