Function requiredDeep

  • Type Parameters

    • T extends Record<any, any>
    • R extends Record<any, any> = T
    • S extends Record<any, any> = T & R

    Parameters

    • source1: Partial<T>
    • source2: undefined | null | Partial<R>
    • Optionalsource3: null | Partial<S>

    Returns T & R & S