(value: string | null | undefined)
| 861 | } |
| 862 | |
| 863 | function normalizeThreadTitle(value: string | null | undefined): string | null { |
| 864 | const normalized = typeof value === 'string' ? value.trim() : ''; |
| 865 | return normalized || null; |
| 866 | } |
| 867 | |
| 868 | function createNextDefaultThreadTitle(titles: Array<string | null | undefined>): string { |
| 869 | let max = 0; |
no outgoing calls
no test coverage detected