svelte-ux
Version:
- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`
10 lines (9 loc) • 340 B
TypeScript
import { formatDate, PeriodType } from './date';
type DateDisplayOptions = {
periodType?: PeriodType | null;
variant?: Parameters<typeof formatDate>[2];
format?: string;
utc?: boolean;
};
export declare function dateDisplay(value: Date | string | number | null | undefined, options?: DateDisplayOptions): string;
export {};