From 621a830cf130b1cdafb012ebbf0e1deb1d95caf0 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 27 Oct 2024 14:21:07 +0000 Subject: [PATCH] Fix types --- src/main.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.d.ts b/src/main.d.ts index aed5ef0..a68918a 100644 --- a/src/main.d.ts +++ b/src/main.d.ts @@ -109,7 +109,7 @@ export type Change = { */ error: Error } - : {}) + : object) /** * Makes `value` JSON-safe by: @@ -139,7 +139,7 @@ export type Change = { * // ] * ``` */ -export default function safeJsonValue( +export default function safeJsonValue( value: T, options?: OptionsArg, ): {