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

Typing issue after upgrade, nothing in migration, neither in doc #842

Closed
Hideman85 opened this issue Jun 23, 2023 · 2 comments
Closed

Typing issue after upgrade, nothing in migration, neither in doc #842

Hideman85 opened this issue Jun 23, 2023 · 2 comments

Comments

@Hideman85
Copy link

Error:
image

Expected: https://github.com/i18next/i18next-parser#jsx

{
  // JsxLexer default config (jsx)
  // JsxLexer can take all the options of the JavascriptLexer plus the following
  jsx: [{
    lexer: 'JsxLexer',
    attr: 'i18nKey', // Attribute for the keys
    componentFunctions: ['Trans'], // Array of components to match
  }],
}

Additional note: I cannot find anything named componentFunctions in the dist/index.d.ts file.

@karellm
Copy link
Member

karellm commented Jun 23, 2023

Can you please make a PR?

@karellm
Copy link
Member

karellm commented Aug 23, 2023

Should be fixed as of 8.7.0

@karellm karellm closed this as completed Aug 23, 2023
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

No branches or pull requests

2 participants