Skip to content

Commit

Permalink
fix arg
Browse files Browse the repository at this point in the history
  • Loading branch information
catplvsplus committed Jul 14, 2024
1 parent e1cc63b commit e62ca44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/decorators/src/decorators/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function setRecipleModuleStart() {

for (const command of metadata.commands) {
const originalExecute = command.execute as (data: unknown) => void;
if (originalExecute) command.setExecute((...args: any[]) => originalExecute.call(this, args));
if (originalExecute) command.setExecute((args: any) => originalExecute.call(this, args));

this.commands.push(command);
}
Expand Down

0 comments on commit e62ca44

Please sign in to comment.