Overrides extension method return types so they always return the full
extended builder type. This ensures extension methods preserve all other
extension methods through chaining (e.g. s.string().email().slug()).
The self-reference (FixedMethods appears in its own mapped return
types) is resolved lazily by TypeScript because the recursion sits
inside a function-return position within a conditional mapped type.
Overrides extension method return types so they always return the full extended builder type. This ensures extension methods preserve all other extension methods through chaining (e.g.
s.string().email().slug()).The self-reference (
FixedMethodsappears in its own mapped return types) is resolved lazily by TypeScript because the recursion sits inside a function-return position within a conditional mapped type.