Overview
The interface I18nDetails is public and one of its props uses I18nError as an argument and the latter is not publicly available.
For typed situations, it would be good to have access to this type.
Motivation
In TypeScript, currently we are not able to do something like this:
const onError = (error: I18nError) => {
...
};
const manager = I18nManager({locale, onError, currency: currencyCode, fallbackLocale: FALLBACK_LANGUAGE});
Checklist
Overview
The interface
I18nDetailsis public and one of its props usesI18nErroras an argument and the latter is not publicly available.For typed situations, it would be good to have access to this type.
Motivation
In TypeScript, currently we are not able to do something like this:
Checklist