Skip to content

Commit 9abbc0e

Browse files
authored
[backport] fix: missing next/link types with typedRoutes (#82814) (#84779)
backports #82814
1 parent 121e1b5 commit 9abbc0e

File tree

1 file changed

+2
-0
lines changed
  • packages/next/src/server/lib/router-utils

1 file changed

+2
-0
lines changed

packages/next/src/server/lib/router-utils/typegen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ declare module 'next' {
298298
}
299299
300300
declare module 'next/link' {
301+
export { useLinkStatus } from 'next/dist/client/link.js'
302+
301303
import type { LinkProps as OriginalLinkProps } from 'next/dist/client/link.js'
302304
import type { AnchorHTMLAttributes, DetailedHTMLProps } from 'react'
303305
import type { UrlObject } from 'url'

0 commit comments

Comments
 (0)