UNPKG

stringiful

Version:

Easy to use stringify function with built-in configurable formatters

14 lines 490 B
import { formatFunction, ObjectFormatter } from '../../interface'; import { AllowedTimezone } from './timezones'; interface IDateFormatterConfig { matches: 'date'; params?: { timezone?: AllowedTimezone; locale?: string; }; format?: formatFunction; } export declare type DateFormatterConfig = IDateFormatterConfig; export declare const getDateFormatter: (formatterConfig: DateFormatterConfig) => ObjectFormatter; export {}; //# sourceMappingURL=index.d.ts.map