Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ router.ts
File
router.ts
packages/next/src/client/router.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/* global window */
2
import
React from
'react'
3
import
Router from
'../shared/lib/router/router'
4
import
type
{ NextRouter } from
'../shared/lib/router/router'
Callers
nothing calls this directly
Calls
7
getRouter
Function · 0.85
toUpperCase
Method · 0.80
charAt
Method · 0.80
error
Method · 0.65
isError
Function · 0.50
forEach
Method · 0.45
on
Method · 0.45
Tested by
no test coverage detected