We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b5c83 commit 53948d8Copy full SHA for 53948d8
index.d.ts
@@ -90,7 +90,7 @@ declare module 'replicate' {
90
webhook_events_filter?: WebhookEventType[];
91
signal?: AbortSignal;
92
},
93
- progress?: (Prediction) => void
+ progress?: (prediction: Prediction) => void
94
): Promise<object>;
95
96
request(route: string | URL, options: {
@@ -108,7 +108,7 @@ declare module 'replicate' {
108
interval?: number;
109
max_attempts?: number;
110
111
- stop?: (Prediction) => Promise<boolean>
+ stop?: (prediction: Prediction) => Promise<boolean>
112
): Promise<Prediction>;
113
114
collections: {
0 commit comments