From 4ca50682382bf7d87882882cd97d2a26679dbe89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 1 Oct 2024 19:56:02 +0200 Subject: [PATCH] fix: refine TS types definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 2654683..59e0497 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -75,8 +75,8 @@ export interface Report { baseline: boolean group: string | null now: () => number - before?: () => void | Promise - after?: () => void | Promise + before: () => void | Promise + after: () => void | Promise error?: Error