Skip to content

Commit

Permalink
fix: missing type for detect_language which supports multiple strings…
Browse files Browse the repository at this point in the history
… OR a single bool
  • Loading branch information
lukeocodes committed Jul 9, 2024
1 parent 80e2331 commit ebf07a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types/TranscriptionSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ interface PrerecordedSchema extends TranscriptionSchema {
/**
* @see https://developers.deepgram.com/docs/language-detection
*/
detect_language?: boolean;
detect_language?: boolean | string[];

/**
* @see https://developers.deepgram.com/docs/topic-detection
Expand Down

0 comments on commit ebf07a5

Please sign in to comment.