UNPKG

@mmstack/form-validation

Version:

Provides a type-safe, composable, and localizable validation system designed specifically for use with [@mmstack/form-core](https://www.npmjs.com/package/@mmstack/form-core). It enables defining validation rules clearly within your TypeScript code and int

3 lines (2 loc) 170 B
export declare function defaultToDate<TDate>(date: TDate | string): Date; export declare function defaultFormatDate(date: Date, locale: string, format?: string): string;