| 3 | type ToastType = 'success' | 'error' | 'info'; |
| 4 | |
| 5 | interface Toast { |
| 6 | id: number; |
| 7 | type: ToastType; |
| 8 | message: string; |
| 9 | exiting?: boolean; |
| 10 | } |
| 11 | |
| 12 | interface ToastContextValue { |
| 13 | toast: (type: ToastType, message: string) => void; |
nothing calls this directly
no outgoing calls
no test coverage detected