• Merges two property definitions into one.

    This function combines two Prop objects into a single Prop object, merging their attributes where possible.

    Parameters

    • a: Prop

      The first property definition.

    • b: Prop

      The second property definition.

    Returns Prop | undefined

    A merged property definition, or undefined if they cannot be merged.