Skip to content

Commit ebf07a5

Browse files
committed
fix: missing type for detect_language which supports multiple strings OR a single bool
1 parent 80e2331 commit ebf07a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/types/TranscriptionSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ interface PrerecordedSchema extends TranscriptionSchema {
149149
/**
150150
* @see https://developers.deepgram.com/docs/language-detection
151151
*/
152-
detect_language?: boolean;
152+
detect_language?: boolean | string[];
153153

154154
/**
155155
* @see https://developers.deepgram.com/docs/topic-detection

0 commit comments

Comments
 (0)