Skip to content

Commit

Permalink
feat: Corrected type definition of state in Link component (#11273)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkboo committed Jun 15, 2023
1 parent bf38fce commit 8db51c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ declare function Link(props: {
prefetch?: boolean;
to: string | Partial<{ pathname: string; search: string; hash: string }>;
replace?: boolean;
state?: boolean;
state?: any;
reloadDocument?: boolean;
}): React.ReactElement;
```
Expand Down

1 comment on commit 8db51c7

@vercel
Copy link

@vercel vercel bot commented on 8db51c7 Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.