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

generator outputs weird comments in i18n-types.ts RootTranslation #755

Open
dilame opened this issue Dec 19, 2023 · 0 comments
Open

generator outputs weird comments in i18n-types.ts RootTranslation #755

dilame opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dilame
Copy link

dilame commented Dec 19, 2023

Version

5.26.2

Describe the bug

I'm sorry for the screenshot, but i can't just copy the value – bug disappears.

Screenshot 2023-12-19 at 03 57 44

Here we can see that comment for TranslationFunctions is good. Comment in root translation contains the same text, but with each character separated by ZWSP (seems to stand for Zero-Width Space)

Reproduction

I don't do anything special – just npx typesafe-i18n --no-watch

Logs

No response

Config

{
  "baseLocale": "en-EN",
  "esmImports": true,
  "outputPath": "./src",
  "$schema": "https://unpkg.com/typesafe-i18n@5.26.2/schema/typesafe-i18n.json"
}

Additional information

No response

@dilame dilame added the bug Something isn't working label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant