mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
51f84d9ba8
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