Skip to content

Commit f5ed90e

Browse files
committed
lint
1 parent 7eb7ea6 commit f5ed90e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/deepgram/src/stt.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ export class SpeechStream extends stt.SpeechStream {
316316

317317
const liveTranscriptionToSpeechData = (
318318
language: STTLanguages | string,
319-
data: { [id: string]: any },
319+
data: { [id: string]: unknown },
320320
): stt.SpeechData[] => {
321-
const alts: any[] = data['channel']['alternatives'];
321+
const alts: unknown[] = data['channel']['alternatives'];
322322

323323
return alts.map((alt) => {
324324
// Check if words array exists and has speaker information
@@ -337,4 +337,3 @@ const liveTranscriptionToSpeechData = (
337337
};
338338
});
339339
};
340-

0 commit comments

Comments
 (0)