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

ReactNode should be prefixed with React #1481

Merged
merged 1 commit into from Apr 10, 2022
Merged

ReactNode should be prefixed with React #1481

merged 1 commit into from Apr 10, 2022

Conversation

high1
Copy link
Contributor

@high1 high1 commented Apr 10, 2022

ReactNode was incorrectly added in the #1480 without React prefix - breaks tsc compilation, unless skipLibCheck is set.

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included

Checklist (for documentation change)

  • only relevant documentation part is changed (make a diff before you submit the PR)
  • motivation/reason is provided

ReactNode was incorrectly added in the #1480 without React prefix - breaks tsc compilation, unless skipLibCheck is set.
@adrai adrai merged commit 4aecf5c into i18next:master Apr 10, 2022
@adrai
Copy link
Member

adrai commented Apr 10, 2022

thx, included in v11.16.5

@high1
Copy link
Contributor Author

high1 commented Apr 10, 2022

@adrai The tests are failing because of tslint - TFunctionResult that's imported from i18next is defined as a union of both null and undefined, and that's an error.

@adrai
Copy link
Member

adrai commented Apr 10, 2022

maybe @pedrodurek can check this: #1482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants