UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

8 lines (7 loc) 373 B
import { Nil } from '../misc'; type DateInput = Date | string | number; export declare const formatDate: (value: DateInput) => string; export declare const formatNilDate: (value: Nil<DateInput>) => string | null; export declare const formatDateTime: (value: DateInput) => string; export declare const formatNilDateTime: (value: Nil<DateInput>) => string | null; export {};