Skip to content

[v23.0.1] - Type instantiation is excessively deep and possibly infinite #1972

@esetnik

Description

@esetnik

🐛 Bug Report

After updating to v23.0.1 I am getting typescript errors. The previously working version is v22.4.3.

To Reproduce

A minimal reproducible example.
A codesandbox example or similar
or at least steps to reproduce the behavior:

            <Trans
              i18nKey="titles.paymentPastDue"
              components={[
                <b></b>,
                <LinkStyled href={`mailto:${SALES_EMAIL}`} />,
              ]}
              t={t}
              values={{ email: SALES_EMAIL }}
            />

Expected behavior

A clear and concise description of what you expected to happen.

No error

Your Environment

  • runtime version: typescript v5.1.3
  • i18next version: v23.0.1
  • os: Linux
  • any other relevant information
image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions