@telerik/kendo-intl
Version:
A package exporting functions for date and number parsing and formatting
12 lines (10 loc) • 373 B
TypeScript
declare class IntlError {
name: string;
message: string;
constructor(error: { name: string, message: string });
formatMessage(...values: any[]): string;
error(...values: any[]): Error;
}
declare const errors: any;
declare const toIntlErrors: (errors: { [x: string]: string; }) => { [x: string]: IntlError };
export { errors, IntlError, toIntlErrors };