Function withLastModified

  • Wraps data with last modified time

    Type Parameters

    • T

    Parameters

    • data: T

      the data

    • lastModified: number

      the last modified time

    Returns WithLastModified<T>