(timestamp?: string | null)
| 112 | } |
| 113 | |
| 114 | function parseTimestampRange(timestamp?: string | null): { start: number; end: number } | null { |
| 115 | if (typeof timestamp !== 'string') return null; |
| 116 | const trimmed = timestamp.trim(); |
| 117 | if (!trimmed) return null; |
| 118 | return parseTimestampRangeStrict(trimmed); |
| 119 | } |
| 120 | |
| 121 | function approximateTimeOffset(segment: TranscriptSegment | undefined, charOffset?: number | null): number { |
| 122 | if (!segment) { |
nothing calls this directly
no outgoing calls
no test coverage detected