• Type Parameters

    • T extends Record<string, unknown>

    Parameters

    • current: T
    • changed: ((prop) => boolean)
        • (prop): boolean
        • Parameters

          • prop: keyof T

          Returns boolean

    • props: (keyof T)[]

    Returns Pick<T, keyof T>