Skip to content

Setup i18next types #60543

@ojeytonwilliams

Description

@ojeytonwilliams

#60542 included type assertions to allow us to migrate to i18next >= 23, but this isn't ideal.

To avoid having to make assertions and get better types out of the t function we should investigate the correct TS setup in https://www.i18next.com/overview/typescript#create-a-declaration-file.

We will likely need to move away from .json files because of https://www.i18next.com/overview/typescript#not-working-interpolation-values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions