(synonyms: readonly SynonymType[], timerangPrefix: string | null)
| 25 | } |
| 26 | |
| 27 | function displayName(synonyms: readonly SynonymType[], timerangPrefix: string | null) { |
| 28 | const suffix = name(synonyms) |
| 29 | return timerangPrefix ? `${timerangPrefix} ${suffix}` : suffix |
| 30 | } |
| 31 | |
| 32 | function optimisticResponse(repoTopic: RepoTopicType, synonymUpdate: SynonymType[]) { |
| 33 | const synonyms = repoTopic.details?.synonyms || [] |
no test coverage detected