mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 07:50:44 +00:00
chore(lint): enable unnecessary type parameter rule
This commit is contained in:
@@ -46,8 +46,8 @@ export function resolveCommandGroupEntries<TDescriptor extends NamedCommandDescr
|
||||
}));
|
||||
}
|
||||
|
||||
export function buildCommandGroupEntries<TDescriptor extends NamedCommandDescriptor, TRegister>(
|
||||
descriptors: readonly TDescriptor[],
|
||||
export function buildCommandGroupEntries<TRegister>(
|
||||
descriptors: readonly NamedCommandDescriptor[],
|
||||
specs: readonly CommandGroupDescriptorSpec<TRegister>[],
|
||||
mapRegister: (register: TRegister) => CommandGroupEntry["register"],
|
||||
): CommandGroupEntry[] {
|
||||
|
||||
Reference in New Issue
Block a user