Files
SAFEKISO/safekiso-server/node_modules/snyk/dist/lib/alerts.d.ts
2026-04-07 14:50:23 +09:00

11 lines
337 B
TypeScript

export type AlertType = 'info' | 'warning' | 'error';
export interface Alert {
type: AlertType;
name: string;
msg: string;
}
declare function registerAlerts(alerts: Alert[]): void;
declare function hasAlert(name: string): boolean;
declare function displayAlerts(): string;
export { registerAlerts, hasAlert, displayAlerts };