| 28 | export type SwalParams = (string|Partial<SwalOptions>)[]; |
| 29 | |
| 30 | export interface SweetAlert { |
| 31 | (...params: SwalParams): Promise<any>, |
| 32 | close? (namespace: string): void, |
| 33 | getState? (): SwalState, |
| 34 | setActionValue? (opts: string|ActionOptions): void, |
| 35 | stopLoading? (): void, |
| 36 | setDefaults? (opts: object): void, |
| 37 | }; |
| 38 | |
| 39 | const swal:SweetAlert = (...args) => { |
| 40 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…