| 31 | } |
| 32 | |
| 33 | interface Toast { |
| 34 | success: (message: string) => void |
| 35 | error: (message: string) => void |
| 36 | promise: <T>( |
| 37 | promise: Promise<T>, |
| 38 | msg: { loading: string, success: string, error: string } |
| 39 | ) => Promise<T> |
| 40 | } |
| 41 | |
| 42 | interface DataStore { |
| 43 | has: (key: string) => boolean |
nothing calls this directly
no outgoing calls
no test coverage detected