Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/router
/ optional-path-params.test.ts
File
optional-path-params.test.ts
packages/router-core/tests/optional-path-params.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
2
import
{ interpolatePath } from
'../src/path'
3
import
{
4
SEGMENT_TYPE_OPTIONAL_PARAM,
Callers
nothing calls this directly
Calls
5
interpolatePath
Function · 0.90
processRouteTree
Function · 0.90
parsePathname
Function · 0.70
matchPathname
Function · 0.70
toNullObj
Function · 0.70
Tested by
no test coverage detected