Skip to main content
type DateString = `${number}-${number}-${number}`;
A date string in ISO 8601 calendar date format (YYYY-MM-DD). Template literal type that rejects arbitrary strings at compile time. Use this wherever a raw date string is expected in scheduling APIs.