From 423013a17b23ab38619771c17dbc36dc45876e3b Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 5 Jul 2026 08:10:56 +0300 Subject: [PATCH] add type definitions module --- helpers_add_health_check.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 helpers_add_health_check.ts diff --git a/helpers_add_health_check.ts b/helpers_add_health_check.ts new file mode 100644 index 000000000..f7bc92db9 --- /dev/null +++ b/helpers_add_health_check.ts @@ -0,0 +1,8 @@ +export type helpers_add_health_checkResult = { + data: T | null; + error: string | null; +}; + +export function wrapResult(data: T): helpers_add_health_checkResult { + return { data, error: null }; +}