Open afonsograca opened 3 months ago
The interface I18nDetails is public and one of its props uses I18nError as an argument and the latter is not publicly available.
I18nDetails
I18nError
For typed situations, it would be good to have access to this type.
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});
Overview
The interface
I18nDetails
is public and one of its props usesI18nError
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:
Checklist