ZodObject<{ aliasName: ZodString; file: ZodString; line: ZodOptional<ZodNumber>; column: ZodOptional<ZodNumber>; message: ZodString; severity: ZodEnum<...>; kind: ZodLiteral<...>; }, $strict> import type {AliasLostDiagnostic} from 'svelte-docinfo/diagnostics.js'; An exported type alias loses its name at use sites.
The alias's right-hand side (an indexed access or conditional —
z.infer<typeof S>, valibot's InferOutput) resolves to a pre-existing
interned type that TypeScript never retroactively stamps an alias symbol
on, so unannotated positions document the expansion instead of the name.
Fires only where nothing self-heals: a loss the alias registry recovers
(typeInfo emits {kind: 'reference', name} at use sites) is suppressed,
as are literal-only unions (z.enum outputs) and brand-like intersections
(.brand()) — readable degradations with no author-side fix worth
demanding. @nodocs on the declaration suppresses. The author-side escape
for a flagged alias is a nominal symbol, e.g.
interface Foo extends z.infer<typeof S> {} where applicable.
Always warning, query-time category (recomputed each query()).