From ebf07a53c78095c8a6e08ee7206ec6a69b37f6c5 Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Tue, 9 Jul 2024 17:53:11 +0100 Subject: [PATCH] fix: missing type for detect_language which supports multiple strings OR a single bool --- src/lib/types/TranscriptionSchema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/types/TranscriptionSchema.ts b/src/lib/types/TranscriptionSchema.ts index c35879e..beb4882 100644 --- a/src/lib/types/TranscriptionSchema.ts +++ b/src/lib/types/TranscriptionSchema.ts @@ -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