Skip to content

Invisible characters generated in i18n-types.ts (zero width space (unicode U+200b)) #769

Description

@Nicolab

Version

5.26.2

Describe the bug

Hi,

Some invisible characters generated in a comment:

image

Sometimes these kind of invisible characters cause certain analysis tools to crash

Reproduction

Install Gremlins extensions in VS code or similar. https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins

Logs

No response

Config

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

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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