Type alias RefineShape<S, RefinedValue>

RefineShape<S, RefinedValue>: Shape<Input<S>, RefinedValue> & Omit<S, keyof Shape>

Returns the shape that refines the shape output.

Type Parameters

  • S extends AnyShape

    The base shape.

  • RefinedValue

    The refined output value.