From 35cdb6d870500b97dfc62accb916dff887f3f690 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Tue, 11 Feb 2025 20:40:20 +0900 Subject: [PATCH] refactor: make OverrideBuildOptions skipLogs deprecated --- src/logged.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/logged.ts b/src/logged.ts index ec9e6a1..daedca3 100644 --- a/src/logged.ts +++ b/src/logged.ts @@ -124,8 +124,11 @@ interface FunctionMetadata { } interface OverrideBuildOptions { + /** @deprecated */ skipCallLog: boolean; + /** @deprecated */ skipReturnLog: boolean; + /** @deprecated */ skipErrorLog: boolean; } @@ -182,7 +185,7 @@ function overrideBuild, R>( } ${metadatas.loggedParams && metadatas.loggedParams.length > 0 ? "WITH " + metadatas.loggedParams.map( - ({name, index, include, exclude}) => + ({ name, index, include, exclude }) => name + "=" + imObjectContainedLogSync(args[index], {