Skip to content

Commit b37ee2c

Browse files
committed
chore: rename shallow
1 parent 054ff7b commit b37ee2c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

packages/next/next-server/lib/router/router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export default class Router implements BaseRouter {
507507
_bps: BeforePopStateCallback | undefined
508508
events: MittEmitter<
509509
RouterEvent,
510-
(url: string, routeProps: { shadow: boolean }) => void
510+
(url: string, routeProps: { shallow: boolean }) => void
511511
> = mitt()
512512
_wrapApp: (App: AppComponent) => any
513513
isSsr: boolean
@@ -526,7 +526,7 @@ export default class Router implements BaseRouter {
526526

527527
static events: MittEmitter<
528528
RouterEvent,
529-
(url: string, routeProps: { shadow: boolean }) => void
529+
(url: string, routeProps: { shallow: boolean }) => void
530530
> = mitt()
531531

532532
constructor(

0 commit comments

Comments
 (0)