(value: string)
| 271 | const USER_CONTENT_PREFIX = 'user-content-' |
| 272 | |
| 273 | function withUserContentPrefix(value: string): string { |
| 274 | return value.startsWith(USER_CONTENT_PREFIX) ? value : `${USER_CONTENT_PREFIX}${value}` |
| 275 | } |
| 276 | |
| 277 | function toUserContentId(value: string): string { |
| 278 | return `${USER_CONTENT_PREFIX}${value}` |
no outgoing calls
no test coverage detected