Skip to content

Fix typescript types in DOMLocalization #643

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

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

julienw
Copy link
Contributor

@julienw julienw commented Jul 18, 2025

I noticed some types were not good enough when I started checking the types in firefox' lit-utils file, for example in these lines: https://searchfox.org/mozilla-central/rev/a9e77c69ed8a2b408bbe64553316c7849ec3d267/toolkit/content/widgets/lit-utils.mjs#160,179

Indeed in Lit we're dealing with DocumentFragments more. This works fine in Fluent, only the types aren't correct.

@julienw
Copy link
Contributor Author

julienw commented Jul 18, 2025

ping @eemeli

@eemeli eemeli merged commit 8010db1 into projectfluent:main Jul 18, 2025
3 checks passed
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.

2 participants