mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 03:31:10 +00:00
fix(check): repair typed test and cli drift
This commit is contained in:
@@ -112,9 +112,9 @@ export function defineImportedProgramCommandGroupSpec<
|
||||
);
|
||||
}
|
||||
|
||||
export function defineImportedProgramCommandGroupSpecs<
|
||||
const TDefinitions extends readonly AnyImportedProgramCommandGroupDefinition[],
|
||||
>(definitions: TDefinitions): CommandGroupDescriptorSpec<(program: Command) => Promise<void>>[] {
|
||||
export function defineImportedProgramCommandGroupSpecs(
|
||||
definitions: readonly AnyImportedProgramCommandGroupDefinition[],
|
||||
): CommandGroupDescriptorSpec<(program: Command) => Promise<void>>[] {
|
||||
return definitions.map((definition) => ({
|
||||
commandNames: definition.commandNames,
|
||||
register: async (program: Command) => {
|
||||
|
||||
Reference in New Issue
Block a user