(value: string)
| 433 | } |
| 434 | |
| 435 | function capitalize(value: string) { |
| 436 | if (!value) { |
| 437 | return value; |
| 438 | } |
| 439 | return value[0].toUpperCase() + value.slice(1); |
| 440 | } |
| 441 | |
| 442 | function renderTagsLiteral(tags: string[]) { |
| 443 | return `[${tags.map((tag) => JSON.stringify(tag)).join(", ")}]`; |
no outgoing calls
no test coverage detected