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