Type alias DevfiveBaseQueryToObject<T, Option>

DevfiveBaseQueryToObject<T, Option>: Option["pick"] extends infer A extends string[] | string
    ? DeepPick<T, A extends string
            ? A
            : A[number]> extends infer B
        ? Option["scope"] extends string
            ? DeepScope<B, Option["scope"]>
            : B
        : T
    : Option["scope"] extends string
        ? DeepScope<T, Option["scope"]>
        : T

Type Parameters

Generated using TypeDoc