Constructors

  • Parameters

    • path: string[]

      keys that lead to datePropNames

    • datePropNames: string[]

      keys that contain date strings or numbers representing milliseconds since epoch

    Returns default

Methods

  • Goes through data, converting all fields with paths matching (path.)*datePropNames into a Date object by parsing value as milliseconds since epoch or ISO8601

    Type Parameters

    • T

    Parameters

    • data: T

    Returns T