TypeScript Utils by Ian Macalinao
    Preparing search index...

    Function createUpdateFn

    • Creates an update function from an object of update expressions.

      Type Parameters

      • DB
      • TB extends string | number | symbol
      • T

      Parameters

      Returns (data: Partial<T>) => UpdateObject<DB, TB>

      An update function.