mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 04:57:40 +00:00
chore: Enable typescript/no-explicit-any rule.
This commit is contained in:
@@ -25,7 +25,8 @@ export function guardSessionManager(
|
||||
|
||||
const hookRunner = getGlobalHookRunner();
|
||||
const transform = hookRunner?.hasHooks("tool_result_persist")
|
||||
? (message: any, meta: { toolCallId?: string; toolName?: string; isSynthetic?: boolean }) => {
|
||||
? // oxlint-disable-next-line typescript/no-explicit-any
|
||||
(message: any, meta: { toolCallId?: string; toolName?: string; isSynthetic?: boolean }) => {
|
||||
const out = hookRunner.runToolResultPersist(
|
||||
{
|
||||
toolName: meta.toolName,
|
||||
|
||||
Reference in New Issue
Block a user