© 2026 Hedgehog Software, LLC
const Foo = S.Struct({ foo: S.String }); const Bar = S.Struct({ bar: S.String }).pipe( S.extend(S.suspend(() => Foo)), );
Error: Extend: cannot extend '{ bar: string }' with '<suspended schema>' (path [])