s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated ExportedAt timestamp.

      Parameters

      • OptionalexportedAt: Date

        Optional Date. If not provided, uses current time.

      Returns Date & $brand<"ExportedAt">

      A branded ExportedAt value

      When the value is not a valid Date

      const now = makeExportedAt(); // Current time
      const specific = makeExportedAt(new Date("2024-01-01"));