Skip to main content

core.voidablediff

Home > @medplum/core > VoidableDiff

VoidableDiff type

VoidableDiff exists to allow the user to provide a partial diff(...) function, falling back to the built-in diffAny(...) function if the user-provided function returns void.

Signature:

export type VoidableDiff = (input: any, output: any, ptr: Pointer) => Operation[] | undefined;

References: Pointer, Operation