We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The UseTranslationOptions interface lacks the useSuspense boolean property definition.
Occurs in react-i18next version 10.4.1
To Reproduce Steps to reproduce the behavior:
create-react-app <project_name> --typescript
npm i -S i18next react-i18next
const { t } = useTranslation('ns', {useSuspense: false});
UseTranslationOptions
Expected behaviour The definition should include the correct translation options for the hook
Screenshots The documentation states the option property is available
Typescript compiler throws error
OS
The text was updated successfully, but these errors were encountered:
Feel free to add a PR to add this.
Sorry, something went wrong.
#778
No branches or pull requests
Describe the bug
The UseTranslationOptions interface lacks the useSuspense boolean property definition.
Occurs in react-i18next version
10.4.1
To Reproduce
Steps to reproduce the behavior:
create-react-app <project_name> --typescript
npm i -S i18next react-i18next
const { t } = useTranslation('ns', {useSuspense: false});
UseTranslationOptions
Expected behaviour
The definition should include the correct translation options for the hook
Screenshots
The documentation states the option property is available
Typescript compiler throws error
OS
The text was updated successfully, but these errors were encountered: