InferMultiValueCollectorType: T extends "MultiSelectCollector"
    ? MultiValueCollectorWithValue<"MultiSelectCollector">
    :
        | MultiValueCollectorWithValue<"MultiValueCollector">
        | MultiValueCollectorNoValue<"MultiValueCollector">

Type to help infer the collector based on the collector type Used specifically in the returnMultiValueCollector wrapper function. When given a type, it can narrow which type it is returning

Note: You can see this type in action in the test file or in the collector.utils file.

Type Parameters