Skip to content
New issue

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

hooks variant Trans props and useTranslation typings #682

Merged
merged 1 commit into from
Jan 19, 2019

Conversation

panjiesw
Copy link
Contributor

Add some missing typings from latest hooks variant change and also some improvements

  • Make some Trans props optional
  • Add second argument to useTranslation
  • Sync with prettier

Might also want to use i18next/i18next#1163 like #665 does for t in useTranslation return, but I leave it as it is right now

- Make some `Trans` props optional
- Add second argument to `useTranslation`
- Sync with prettier
@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.157% when pulling 5788ab9 on panjiesw:fix/hooks-typings into 71fdd5b on i18next:master.

@jamuhl jamuhl merged commit 36e6936 into i18next:master Jan 19, 2019
@panjiesw panjiesw deleted the fix/hooks-typings branch January 25, 2019 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants