grunt-angular-translate
grunt-angular-translate copied to clipboard
Support for typescript
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?