MCPcopy
hub / github.com/t4t5/sweetalert / SweetAlert

Interface SweetAlert

src/core.ts:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28export type SwalParams = (string|Partial<SwalOptions>)[];
29
30export 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
39const swal:SweetAlert = (...args) => {
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…