0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(start-plugin-core): a type-only namespace of a server fn's name keeps it at the top level

The check that a binding holds one server fn also counted a merged type-only
namespace as a declaration, so the corpus's `export namespace fn { … }` before
`export const fn = createServerFn()…` went through the nested path, which refuses
effects in its options. Only a written binding leaves it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-31 12:17:24 +01:00
commit bd2da722ea
No known key found for this signature in database
2 changed files with 63 additions and 2 deletions