Skip to content

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