Skip to content

Commit

Permalink
Add missing label to callback type definitions (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt authored Jul 31, 2023
1 parent 98b5c83 commit 53948d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ declare module 'replicate' {
webhook_events_filter?: WebhookEventType[];
signal?: AbortSignal;
},
progress?: (Prediction) => void
progress?: (prediction: Prediction) => void
): Promise<object>;

request(route: string | URL, options: {
Expand All @@ -108,7 +108,7 @@ declare module 'replicate' {
interval?: number;
max_attempts?: number;
},
stop?: (Prediction) => Promise<boolean>
stop?: (prediction: Prediction) => Promise<boolean>
): Promise<Prediction>;

collections: {
Expand Down

0 comments on commit 53948d8

Please sign in to comment.