(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep)
| 189 | * and the tooltip never disagree. |
| 190 | */ |
| 191 | export function kindWord(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep): string { |
| 192 | return kindWords(kind, project, step)[0]; |
| 193 | } |
| 194 | |
| 195 | /** The singular and the plural, for counts: `1 endpoint`, `3 outside the index`. */ |
| 196 | export function kindWords(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep): [string, string] { |
no test coverage detected