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

False ns type error when parsing <Trans ns="..."> #183

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

sgwanlee
Copy link
Contributor

Hi, I've got false error when parsing Trans with ns attributre.

I think it should be attr.ns for testing the type not options.ns

@mxsxs2
Copy link

mxsxs2 commented Aug 18, 2020

I think @sgwanlee is right. The check always returns undefined for typeof options.ns but typeof attr.ns returns string

@cheton cheton merged commit 6a6bf79 into i18next:master Oct 12, 2021
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

3 participants