Skip to content

Support for typescript #88

@nishantkagrawal

Description

@nishantkagrawal

TypeScript ignores inline comment as in this.form['additionalName'].customValidationMessage = /*!i18nextract */'Some message';

The way to go is this.form['additionalName'].customValidationMessage = /*! i18nextract */'Some message'; (notice the ! after /*)

Also TypeScript adds a whitespace between the end of comment */ and the string. The current regex doesn't support that either.

Can you update the regex to include that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions