Skip to content
masterclass Buddy

Next.js 16+ · Option

typedRoutes

typedRoutes enables compile-time checking for statically known App Router links. It is a stable Next.js configuration option and requires TypeScript.

Last updated

Since
15.5

Syntax

const nextConfig = { typedRoutes: true }

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • experimental.typedRoutes
  • App Router
  • TypeScript
  • Link

Source: typedRoutes | Next.js. Checked 2026-11-03.