Skip to main content

ISOString

type ISOString = string & {
__brand: unique symbol;
};

Represents an ISO 8601 date string (e.g., "2024-07-31T14:30:00.000Z") This is a branded type to ensure type safety when working with date strings

Type declaration

NameType
__brandunique symbol