From 32f01e3e328db0006a55c6324625b49d60244b66 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 28 Feb 2026 15:16:20 -0800 Subject: fix typescript issues --- lib/health.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/health.ts') diff --git a/lib/health.ts b/lib/health.ts index fbefa8fa..0502748f 100644 --- a/lib/health.ts +++ b/lib/health.ts @@ -41,7 +41,7 @@ async function checkLightningHealth(): Promise { try { l("health check: testing lightning connection..."); - const info = await withTimeout(ln.getinfo(), RPC_TIMEOUT, "getinfo"); + const info = await withTimeout(ln.getinfo(), RPC_TIMEOUT, "getinfo") as any; if (!info?.id) { throw new Error("getinfo returned invalid response (no node id)"); @@ -57,7 +57,7 @@ async function checkLightningHealth(): Promise { }), RPC_TIMEOUT, "invoice", - ); + ) as any; if (!invoice?.bolt11) { throw new Error("invoice creation returned invalid response"); -- cgit v1.2.3