mirror of
https://github.com/angular/angular.git
synced 2026-11-23 23:17:50 -05:00
TypeScript JsDoc parsing, by default, treats occurences of Angular decorators (e.g. `@Component`) in JsDoc comments as JsDoc tags. This commit escapes these decorator strings by copying the raw JS doc onto a dummy symbol in a new SourceFile to make TypeScript re-parse the comment. PR Close #52481