mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 07:20:44 +00:00
chore(lint): enable unnecessary type parameter rule
This commit is contained in:
@@ -558,7 +558,10 @@ export function registerFeishuBitableTools(api: OpenClawPluginApi) {
|
||||
const getClient = (params: AccountAwareParams | undefined, defaultAccountId?: string) =>
|
||||
createFeishuToolClient({ api, executeParams: params, defaultAccountId });
|
||||
|
||||
const registerBitableTool = <TParams extends AccountAwareParams>(params: {
|
||||
const registerBitableTool = <
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-type-parameters -- Tool params bind each schema-specific executor to its registered tool.
|
||||
TParams extends AccountAwareParams,
|
||||
>(params: {
|
||||
name: string;
|
||||
label: string;
|
||||
description: string;
|
||||
|
||||
Reference in New Issue
Block a user