Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
Update index.d.ts (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skillz4Killz authored and bdistin committed Jun 20, 2019
1 parent 23c8b87 commit 52d5427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -517,7 +517,7 @@ declare module 'klasa' {

export abstract class Task extends Piece {
public constructor(client: KlasaClient, store: TaskStore, file: string[], directory: string, options?: TaskOptions);
public abstract run(data: any): Promise<void>;
public abstract run(data?: any): Promise<void>;
public toJSON(): PieceTaskJSON;
}

Expand Down

0 comments on commit 52d5427

Please sign in to comment.