Type alias AllowShape<S, AllowedValue>

Shortcut for ReplaceShape that allows the same value as both an input and an output.

Type Parameters

  • S extends AnyShape

    The shape that parses the input without the replaced value.

  • AllowedValue

    The value that is allowed as an input and output.