Skip to content

Commit

Permalink
fix: add missing args definition on runSchedule (#5232)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevXiaolan authored Jun 29, 2023
1 parent 8ba3d62 commit f90763b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ declare module 'egg' {
*/
addSingleton(name: string, create: any): void;

runSchedule(schedulePath: string): Promise<any>;
runSchedule(schedulePath: string, ...args: any[]): Promise<any>;

/**
* http request helper base on httpclient, it will auto save httpclient log.
Expand Down

0 comments on commit f90763b

Please sign in to comment.