Unverified Commit 9abbc0e9 authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

[backport] fix: missing `next/link` types with `typedRoutes` (#82814) (#84779)

backports #82814
parent 121e1b56
...@@ -298,6 +298,8 @@ declare module 'next' { ...@@ -298,6 +298,8 @@ declare module 'next' {
} }
declare module 'next/link' { declare module 'next/link' {
export { useLinkStatus } from 'next/dist/client/link.js'
import type { LinkProps as OriginalLinkProps } from 'next/dist/client/link.js' import type { LinkProps as OriginalLinkProps } from 'next/dist/client/link.js'
import type { AnchorHTMLAttributes, DetailedHTMLProps } from 'react' import type { AnchorHTMLAttributes, DetailedHTMLProps } from 'react'
import type { UrlObject } from 'url' import type { UrlObject } from 'url'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment