TanStackT
TanStack5d ago
12 replies
skinny-azure

Typesafety Strictness Confusion

Hi, I was wondering if this was the intended behaviour with Tanstack Router, but I couldn’t find a way to enforce strict typesafety on route IDs in navigate (but also with links) when they are passed functions or template strings with interpolation.

Is this meant to not throw any type errors? Or is there a strictness parameter I can set for this?
Image_2026-01-09_at_13.13.png
Was this page helpful?