diff --git a/typings/index.d.ts b/typings/index.d.ts index d483d52..46fd112 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1,5 +1,9 @@ declare module "@godaddy/terminus" { - export type HealthCheck = () => Promise; + export interface TerminusState { + isShuttingDown: boolean; + } + + export type HealthCheck = ({ state }: { state: TerminusState }) => Promise; export class HealthCheckError extends Error { constructor(message: string, causes: any);