© 2026 Hedgehog Software, LLC
const stringObject = Schema.String.pipe( Schema.extend(Schema.Struct({})) ) // Error: extend: unsupported schema or overlapping types, cannot extend string with {}
string & {}
type EventType = "EventA" | "EventB" | string & {}
EventA
EventB