You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug WithNamespacesOptions.wait is not marked as optional but docs say it has false as a default value
Occurs in react-i18next version
9.0.1
To Reproduce
function MyComponent() {
return <span>Yeah!</span>
}
const translated = withNamespaces('', {})(MyComponent);
/*
[ts] Argument of type '{}' is not assignable to parameter of type 'WithNamespacesOptions'.
Property 'wait' is missing in type '{}' but required in type 'WithNamespacesOptions'. [2345]
*/
Expected behaviour
It should be possible to set other withNamespaces options w/o explicitly setting wait
The text was updated successfully, but these errors were encountered:
Describe the bug
WithNamespacesOptions.wait
is not marked as optional but docs say it hasfalse
as a default valueOccurs in react-i18next version
9.0.1
To Reproduce
Expected behaviour
It should be possible to set other withNamespaces options w/o explicitly setting
wait
The text was updated successfully, but these errors were encountered: