InferAutoCollectorType: T extends "ProtectCollector"
    ? ProtectCollector
    : T extends "PollingCollector"
        ? PollingCollector
        : T extends "FidoRegistrationCollector"
            ? FidoRegistrationCollector
            : T extends "FidoAuthenticationCollector"
                ? FidoAuthenticationCollector
                : T extends "ObjectValueAutoCollector"
                    ? ObjectValueAutoCollector
                    : SingleValueAutoCollector

Type to help infer the collector based on the collector type Used specifically in the returnAutoCollector 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