We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfabc75 commit 3647f44Copy full SHA for 3647f44
src/errors.d.ts
@@ -6,6 +6,6 @@ declare class IntlError {
6
error(...values: any[]): Error;
7
}
8
declare const errors: any;
9
-declare const mapErrors: (errors: { [x: string]: string; }) => { [x: string]: IntlError };
+declare const toIntlErrors: (errors: { [x: string]: string; }) => { [x: string]: IntlError };
10
11
-export { errors, mapErrors, IntlError };
+export { errors, IntlError, toIntlErrors };
0 commit comments