forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ivy): i18n - do not generate jsdoc comments for
$localize
(angu…
…lar#32473) Previously the template compiler would generate the same jsdoc comment block for `$localize` as for `goog.getMsg()`. But it turns out that the closure compiler will complain if the `@desc` and `@meaning` tags are used for non-`getMsg()` calls. For now we do not generate the comments for `$localize` calls. They are not being used at the moment. In the future it would be good to be able to extract the descriptions and meanings from the `$localize` calls rather than relying upon the `getMsg()` calls, which we do now. So we need to find a workaround for this constraint. PR Close angular#32473
- Loading branch information
1 parent
0187b32
commit a731119
Showing
3 changed files
with
11 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters