Skip to content

Commit

Permalink
fix(types): add catch-all overload to streaming methods (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and RobertCraigie committed Aug 23, 2023
1 parent 66bede0 commit 7c229a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resources/completions.ts
Expand Up @@ -15,6 +15,10 @@ export class Completions extends APIResource {
body: CompletionCreateParamsStreaming,
options?: Core.RequestOptions,
): APIPromise<Stream<Completion>>;
create(
body: CompletionCreateParams,
options?: Core.RequestOptions,
): APIPromise<Stream<Completion> | Completion>;
create(
body: CompletionCreateParams,
options?: Core.RequestOptions,
Expand Down

0 comments on commit 7c229a2

Please sign in to comment.