Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/router
/ useLocation.test-d.tsx
File
useLocation.test-d.tsx
packages/solid-router/tests/useLocation.test-d.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import { expectTypeOf, test } from
'vitest'
2
import { createRootRoute, createRoute, createRouter, useLocation } from
'../src'
3
import type { ParsedLocation } from
'../src'
4
Callers
nothing calls this directly
Calls
6
createRootRoute
Function · 0.90
createRoute
Function · 0.90
createRouter
Function · 0.90
useLocation
Function · 0.90
test
Function · 0.50
location
Function · 0.50
Tested by
no test coverage detected