mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 22:35:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -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,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user