Skip to content

Commit da0d9bd

Browse files
committed
Fix type signatures for get and cancel trainings
1 parent 7a19576 commit da0d9bd

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
@@ -128,8 +128,8 @@ declare module 'replicate' {
128128
webhook_events_filter?: WebhookEventType[];
129129
}
130130
): Promise<Training>;
131-
get(options: TrainingsGetOptions): Promise<Training>;
132-
cancel(options: TrainingsGetOptions): Promise<Training>;
131+
get(training_id: string): Promise<Training>;
132+
cancel(training_id: string): Promise<Training>;
133133
};
134134
}
135135
}

0 commit comments

Comments
 (0)