A named set of port declarations, as passed to defineNode.
PortSpec<any> is deliberate: PortSpec is invariant in its value
type, so a bounded element type (unknown, never) would reject
every concrete spec. The constraint exists to pin the shape; the
per-port types are recovered by inference through PortValues.
A named set of port declarations, as passed to defineNode.
PortSpec<any>is deliberate:PortSpecis invariant in its value type, so a bounded element type (unknown,never) would reject every concrete spec. The constraint exists to pin the shape; the per-port types are recovered by inference through PortValues.