Function createPartialWithIdAndOptLock

  • same as createPartialObject but ensures the properties 'id' and 'optlock', which are copied anyway and not need to be included in the keys array.

    Type Parameters

    • T extends {
          id?: string;
          optLock?: number;
      }

    Parameters

    • fullEntity: T
    • properties: (keyof T)[]

    Returns T

    Export

Generated using TypeDoc