(prefix: keyof typeof prefixes, given?: string)
| 24 | } |
| 25 | |
| 26 | export function descending(prefix: keyof typeof prefixes, given?: string) { |
| 27 | return generateID(prefix, "descending", given) |
| 28 | } |
| 29 | |
| 30 | function generateID(prefix: keyof typeof prefixes, direction: "descending" | "ascending", given?: string): string { |
| 31 | if (!given) { |
nothing calls this directly
no test coverage detected