DateParser: (date: string) => Date | null

A function that parses a date string and returns a Date object or null if parsing fails.

Type declaration

    • (date: string): Date | null
    • Parameters

      • date: string

      Returns Date | null