Type Alias InferOptionalWaitableAndBindingValueTypes<DependenciesT>

InferOptionalWaitableAndBindingValueTypes<DependenciesT>: DependenciesT extends Waitable<any> | undefined
    ? InferWaitableSuccessType<DependenciesT> | undefined
    : DependenciesT extends ReadonlyBinding
        ? InferBindingGetType<DependenciesT>
        : DependenciesT extends NamedWaitableDependencies
            ? InferOptionalNamedWaitablesAndBindingValueTypes<DependenciesT>
            : DependenciesT extends WaitableArrayDependencies
                ? InferOptionalWaitableAndBindingArrayValueTypes<DependenciesT>
                : Record<string, never>

Infers the values of either a single binding, bindings in an array or tuple, or a record with binding values

Type Parameters