From e5bc7cbbb26cb564aa8842d2f65ca363e3b40423 Mon Sep 17 00:00:00 2001 From: Hyeonseok Kim Date: Fri, 31 Oct 2025 02:16:45 +0900 Subject: [PATCH] fix wrong type annot --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 05754502..1b41035d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -121,7 +121,7 @@ export type EventAttributes = { htmlContent?: string; } & ({ end: DateTime } | { duration: DurationObject }); -export type ReturnObject = { error?: Error; value?: string }; +export type ReturnObject = { error: Error | null; value: string | null }; type NodeCallback = (error: Error | undefined, value: string) => void;