Skip to content

Commit

Permalink
fix(audio): add fallback overload types
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Sep 30, 2024
1 parent 1519100 commit 0c00a13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/audio/transcriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class Transcriptions extends APIResource {
body: TranscriptionCreateParams<'srt' | 'vtt' | 'text'>,
options?: Core.RequestOptions,
): Core.APIPromise<string>;
create(body: TranscriptionCreateParams, options?: Core.RequestOptions): Core.APIPromise<Transcription>;
create(
body: TranscriptionCreateParams,
options?: Core.RequestOptions,
Expand Down
1 change: 1 addition & 0 deletions src/resources/audio/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class Translations extends APIResource {
body: TranslationCreateParams<'text' | 'srt' | 'vtt'>,
options?: Core.RequestOptions,
): Core.APIPromise<string>;
create(body: TranslationCreateParams, options?: Core.RequestOptions): Core.APIPromise<Translation>;
create(
body: TranslationCreateParams,
options?: Core.RequestOptions,
Expand Down

0 comments on commit 0c00a13

Please sign in to comment.