• Type Parameters

    • T extends Record<string, unknown>

    Parameters

    • current: T
    • changed: (prop: keyof T) => boolean
    • props: (keyof T)[]

    Returns Pick<T, keyof T>