(
name: string,
description = '',
externalDocs?: ExternalDocumentationObject,
options?: { summary?: string; parent?: string; kind?: string }
)
| 115 | } |
| 116 | |
| 117 | public addTag( |
| 118 | name: string, |
| 119 | description = '', |
| 120 | externalDocs?: ExternalDocumentationObject, |
| 121 | options?: { summary?: string; parent?: string; kind?: string } |
| 122 | ): this { |
| 123 | this.document.tags = this.document.tags.concat( |
| 124 | pickBy( |
| 125 | { |
| 126 | name, |
| 127 | summary: options?.summary, |
| 128 | description, |
| 129 | externalDocs, |
| 130 | parent: options?.parent, |
| 131 | kind: options?.kind |
| 132 | }, |
| 133 | negate(isUndefined) |
| 134 | ) as unknown as TagObject |
| 135 | ); |
| 136 | return this; |
| 137 | } |
| 138 | |
| 139 | public addExtension( |
| 140 | extensionKey: string, |
no outgoing calls
no test coverage detected