Patch<T>: { [ K in keyof T]?: T[K] | Patch<T[K]> }

Type representing patch data for a given object type to represent a payload ArangoDB can apply in a document PATCH request (i.e. a partial update).

This differs from Partial in that it also applies itself to any nested objects recursively.

Type Parameters

  • T = Record<string, any>

Generated using TypeDoc