(option: RestoreOption | null)
| 30 | import { Divider } from './design-system/Divider.js'; |
| 31 | type RestoreOption = 'both' | 'conversation' | 'code' | 'summarize' | 'summarize_up_to' | 'nevermind'; |
| 32 | function isSummarizeOption(option: RestoreOption | null): option is 'summarize' | 'summarize_up_to' { |
| 33 | return option === 'summarize' || option === 'summarize_up_to'; |
| 34 | } |
| 35 | type Props = { |
| 36 | messages: Message[]; |
| 37 | onPreRestore: () => void; |
no outgoing calls
no test coverage detected