(ts: string)
| 31 | } |
| 32 | } |
| 33 | export function convertPollTimestamp(ts: string): string { |
| 34 | return ts.substring(0, ts.length - 1) + '.000Z'; |
| 35 | } |
| 36 | |
| 37 | export function convertFormattedText(text: string, entities: Record<string, any[]>, display_text_range: [number, number]): Record<string, any> { |
| 38 | // collate all entities into one list |