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

fix: Fix types for appWithTranslation #1987

Merged
merged 1 commit into from
Oct 25, 2022
Merged

fix: Fix types for appWithTranslation #1987

merged 1 commit into from
Oct 25, 2022

Commits on Oct 24, 2022

  1. fix: Fix types for appWithTranslation

    Updated appWithTranslation generic type to fit what is sent in by the
    consumers of the library.
    Marks _nextI18Next in SSRConfig as possibly null, which it may be in the
    case of not calling serverSideTranslations in the page.
    Added a test for the updated type in the related testfile.
    Removed a few redundant null checks.
    Thomas Stenberg Oddsund committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    e901b0d View commit details
    Browse the repository at this point in the history