(doc: HasDecoratorsDoc, decoratorName: string)
| 77 | } |
| 78 | |
| 79 | export function hasDecorator(doc: HasDecoratorsDoc, decoratorName: string): boolean { |
| 80 | return ( |
| 81 | !!doc.decorators && |
| 82 | doc.decorators.length > 0 && |
| 83 | doc.decorators.some(d => d.name == decoratorName) |
| 84 | ); |
| 85 | } |
| 86 | |
| 87 | export function getBreakingChange(doc: ApiDoc): string | null { |
| 88 | const breakingChange = findJsDocTag(doc, 'breaking-change'); |
no outgoing calls
no test coverage detected
searching dependent graphs…