- isSame<T extends Record<string, unknown>>(
current: T,
changed: (prop: keyof T) => boolean,
props: (keyof T)[],
): Pick<T, keyof T> Type Parameters
- T extends Record<string, unknown>
Parameters
- current: T
- changed: (prop: keyof T) => boolean
- props: (keyof T)[]
Returns Pick<T, keyof T>