(command: Naming)
| 10 | } |
| 11 | |
| 12 | export function itemName(command: Naming): string { |
| 13 | return command.itemName ?? 'item' |
| 14 | } |
| 15 | |
| 16 | export function pluralItemName(command: Naming): string { |
| 17 | return command.pluralItemName ?? (command.itemName ? `${command.itemName}s` : 'items') |