From bc4768b267cd0f098b78770e2ae55013afa952ca Mon Sep 17 00:00:00 2001 From: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com> Date: Mon, 9 Nov 2026 18:47:50 +0000 Subject: [PATCH] refactor(speech): merge speech-types imports in the speech IPC --- src/main/ipc/speech.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/ipc/speech.ts b/src/main/ipc/speech.ts index ea070256d20..5506ad38690 100644 --- a/src/main/ipc/speech.ts +++ b/src/main/ipc/speech.ts @@ -7,7 +7,6 @@ import { } from 'electron' import { abortWhenRendererGone } from './renderer-lifetime-abort' import { mergeDictationTerms } from '../../shared/dictation-dictionary' -import type { DictationContext } from '../../shared/speech-types' import { SPEECH_MODEL_CATALOG } from '../speech/model-catalog' import { deleteLocalSpeechModel } from '../speech/speech-model-deletion' import { getSpeechModelManager, getSpeechSttService } from '../speech/speech-runtime-service' @@ -24,7 +23,7 @@ import { clearOpenAiCompatibleSpeechProvider, summarizeOpenAiCompatibleSpeechProvider } from '../speech/openai-compatible-speech-provider-store' -import type { OpenAiCompatibleSpeechProvider } from '../../shared/speech-types' +import type { DictationContext, OpenAiCompatibleSpeechProvider } from '../../shared/speech-types' import type { Store } from '../persistence/loading-store/store' export function registerSpeechHandlers(store: Store): void {