diff --git a/types/config.ts b/types/config.ts index 2e7bfda..b015d1c 100644 --- a/types/config.ts +++ b/types/config.ts @@ -63,14 +63,14 @@ export type Callbacks = { timeIncidentStart: number, timeNow: number, reason: string - ) => Promise + ) => Promise | any onIncident?: ( env: any, monitor: any, timeIncidentStart: number, timeNow: number, reason: string - ) => Promise + ) => Promise | any } export type MonitorState = {