next.js
52a822cf - docs: link ensureStatic TypeScript hints to its API reference (#100033)

Commit
1 day ago
docs: link ensureStatic TypeScript hints to its API reference (#100033) ## Summary The TypeScript language-service hints for the `ensureStatic` route segment config pointed at `(docs coming soon)`, so hovering the export in an editor gave no path to its API reference, which now exists. This points the hint at that page and states in the `'prefetch'` option hint that forcing a static prefetch stops runtime prefetch requests, while request-specific content behind `<Suspense>` still renders during navigation. Maintainer dashboard: https://next-maintainer-agent.vercel.tools/investigations/feedback/149 DX Agent feedback: https://dxagent.labs.vercel.dev/dashboard/feedback/d98438c6-3ff3-4239-b5f9-5ccde3fe7b52 ## Verification - `npx prettier --check packages/next/src/server/typescript/rules/config.ts` <!-- NEXT_JS_LLM --> Prepared in fork: https://github.com/vercel-labs/next.js-experimental/pull/256 --------- Co-authored-by: vercel-gh-bot-2[bot] <282331341+vercel-gh-bot-2[bot]@users.noreply.github.com>
Author
Parents
Loading