fix(lint): suppress no-explicit-any in chat.ts mock assignment

Pre-existing lint error on main — the `any` cast in __setCreateFnAgent
mirrors the eslint-disable already on the adjacent variable declarations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Timothy Laurent
2026-05-05 12:53:45 -07:00
parent b0c10849d2
commit 06cbb744ff

View File

@@ -1231,6 +1231,7 @@ export function __setCreateFnAgent(mock: typeof createFnAgent): void {
// hit the real engine. Mirror the same fake into the resolved-session slot // hit the real engine. Mirror the same fake into the resolved-session slot
// so existing test setups that only call `__setCreateFnAgent` continue to // so existing test setups that only call `__setCreateFnAgent` continue to
// work. // work.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
createResolvedAgentSession = (async (options: any) => mock(options)) as typeof createResolvedAgentSession; createResolvedAgentSession = (async (options: any) => mock(options)) as typeof createResolvedAgentSession;
} }