Skip to content

Commit 53948d8

Browse files
authored
Add missing label to callback type definitions (#110)
1 parent 98b5c83 commit 53948d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ declare module 'replicate' {
9090
webhook_events_filter?: WebhookEventType[];
9191
signal?: AbortSignal;
9292
},
93-
progress?: (Prediction) => void
93+
progress?: (prediction: Prediction) => void
9494
): Promise<object>;
9595

9696
request(route: string | URL, options: {
@@ -108,7 +108,7 @@ declare module 'replicate' {
108108
interval?: number;
109109
max_attempts?: number;
110110
},
111-
stop?: (Prediction) => Promise<boolean>
111+
stop?: (prediction: Prediction) => Promise<boolean>
112112
): Promise<Prediction>;
113113

114114
collections: {

0 commit comments

Comments
 (0)