Emits a summary from the schema description, or a generic fallback.
(description: string | undefined, indent: string)
| 206 | |
| 207 | /** Emits a summary from the schema description, or a generic fallback. */ |
| 208 | function xmlDocEnumComment(description: string | undefined, indent: string): string[] { |
| 209 | if (description) return xmlDocComment(description, indent); |
| 210 | return rawXmlDocSummary(`Defines the allowed values.`, indent); |
| 211 | } |
| 212 | |
| 213 | function xmlDocEnumMemberComment(enumValueDescriptions: EnumValueDescriptions | undefined, value: string): string[] { |
| 214 | const description = enumValueDescriptions?.[value]; |
no test coverage detected
searching dependent graphs…