mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
refactor(frontend): drop eslint-disable from OutboundFormModal field section
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<any>(null)` at line 72 stays — out of scope per plan.
This commit is contained in:
parent
9ee9b8b39f
commit
2145365d05
1 changed files with 1 additions and 2 deletions
|
|
@ -469,8 +469,7 @@ export default function OutboundFormModal({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
type OB = Outbound;
|
||||||
type OB = any;
|
|
||||||
|
|
||||||
interface FieldProps {
|
interface FieldProps {
|
||||||
ob: OB;
|
ob: OB;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue