build: refactor ts-api-guardian jsdoc tag handling (#26595)
Allow the jsdoc tag processing to be configured by type (export, member, param) and by action (required, banned, toCopy). This is a pre-requisite to moving over to using `@publicApi` tags rather than `@stable` and `@experimental`. PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
31022cbecf
commit
2ea57cdcc3
@ -24,6 +24,9 @@ export function startCli() {
|
||||
const options: SerializationOptions = {
|
||||
stripExportPattern: [].concat(argv['stripExportPattern']),
|
||||
allowModuleIdentifiers: [].concat(argv['allowModuleIdentifiers']),
|
||||
exportTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']},
|
||||
memberTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']},
|
||||
paramTags: {required: [], banned: [], toCopy: ['deprecated', 'experimental']}
|
||||
};
|
||||
|
||||
for (const error of errors) {
|
||||
|
Reference in New Issue
Block a user