From 7190db048a2ac36cd5716f84fcca8bf4498c9faa Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Mon, 6 Nov 2023 10:28:22 -0800 Subject: [PATCH] Update TypeScript type definition to make wait options optional --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index a3e2ee0..d2402ca 100644 --- a/index.d.ts +++ b/index.d.ts @@ -110,7 +110,7 @@ declare module 'replicate' { wait( prediction: Prediction, - options: { + options?: { interval?: number; }, stop?: (prediction: Prediction) => Promise