style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -5,22 +5,22 @@
// would resolve to scripts/external-stubs/src/types/ (doesn't exist).
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type M = any
type M = any;
export function useMoreRight(_args: {
enabled: boolean
setMessages: (action: M[] | ((prev: M[]) => M[])) => void
inputValue: string
setInputValue: (s: string) => void
setToolJSX: (args: M) => void
enabled: boolean;
setMessages: (action: M[] | ((prev: M[]) => M[])) => void;
inputValue: string;
setInputValue: (s: string) => void;
setToolJSX: (args: M) => void;
}): {
onBeforeQuery: (input: string, all: M[], n: number) => Promise<boolean>
onTurnComplete: (all: M[], aborted: boolean) => Promise<void>
render: () => null
onBeforeQuery: (input: string, all: M[], n: number) => Promise<boolean>;
onTurnComplete: (all: M[], aborted: boolean) => Promise<void>;
render: () => null;
} {
return {
onBeforeQuery: async () => true,
onTurnComplete: async () => {},
render: () => null,
}
};
}