angular/packages/compiler-cli/test/ngtsc/doc_extraction
Jeremy Elbourn 51f84d9ba8 refactor(compiler): escape decorators in API JsDoc extraction (#52481)
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
2023-11-02 11:03:08 -07:00
..
class_doc_extraction_spec.ts refactor(compiler): extract api docs for inherited members (#52389) 2023-10-27 12:54:14 -07:00
common_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
constant_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
decorator_doc_extraction_spec.ts refactor(compiler): rename decorator extracted "options" to "members" (#52462) 2023-10-31 14:58:03 -07:00
directive_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
doc_extraction_filtering_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
enum_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
function_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
interface_doc_extraction_spec.ts refactor(compiler): extract api docs for inherited members (#52389) 2023-10-27 12:54:14 -07:00
jsdoc_extraction_spec.ts refactor(compiler): escape decorators in API JsDoc extraction (#52481) 2023-11-02 11:03:08 -07:00
ng_module_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
pipe_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
reexport_docs_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00
type_alias_doc_extraction_spec.ts refactor(compiler): extract generic info for api reference (#52204) 2023-10-17 12:29:24 +02:00