From 7823860c26a1f5dc856e6873302e197a96199830 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Fri, 24 Apr 2026 06:12:23 +0700 Subject: [PATCH] chore(lint): no-explicit-any in editor-targets.test --- packages/server/src/server/editor-targets.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/server/src/server/editor-targets.test.ts b/packages/server/src/server/editor-targets.test.ts index c63191783..e550a588a 100644 --- a/packages/server/src/server/editor-targets.test.ts +++ b/packages/server/src/server/editor-targets.test.ts @@ -1,3 +1,4 @@ +import type { ChildProcess } from "node:child_process"; import { describe, expect, it, vi } from "vitest"; import { listAvailableEditorTargets, openInEditorTarget } from "./editor-targets.js"; @@ -45,7 +46,7 @@ describe("editor-targets", () => { return child; }); const child = { once, unref }; - const spawn = vi.fn(() => child as any); + const spawn = vi.fn(() => child as unknown as ChildProcess); await openInEditorTarget( {