API/api.medcify.app/node_modules/snyk/dist/lib/alerts.d.ts

11 lines
345 B
TypeScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
export declare 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 };