From 2145365d0551b4fbbdb15c319eb5f13a9b62e009 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 25 May 2026 02:08:16 +0200 Subject: [PATCH] refactor(frontend): drop eslint-disable from OutboundFormModal field section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace `type OB = any` with `type OB = Outbound`. Body code still sees protocol fields as `any` via Outbound's inherited [key: string]: any index signature (CommonClass) — that escape hatch will narrow as Phase 6 tightens outbound.ts itself. The intentional `// eslint-disable-next-line` on `useRef(null)` at line 72 stays — out of scope per plan. --- frontend/src/pages/xray/OutboundFormModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/xray/OutboundFormModal.tsx b/frontend/src/pages/xray/OutboundFormModal.tsx index 0a4c5d56..8d2b2006 100644 --- a/frontend/src/pages/xray/OutboundFormModal.tsx +++ b/frontend/src/pages/xray/OutboundFormModal.tsx @@ -469,8 +469,7 @@ export default function OutboundFormModal({ ); } -/* eslint-disable @typescript-eslint/no-explicit-any */ -type OB = any; +type OB = Outbound; interface FieldProps { ob: OB;