diff --git a/packages/core/useSpeechSynthesis/index.ts b/packages/core/useSpeechSynthesis/index.ts index a2fb115b8b5..f171bcc1a88 100644 --- a/packages/core/useSpeechSynthesis/index.ts +++ b/packages/core/useSpeechSynthesis/index.ts @@ -10,7 +10,7 @@ export type Status = 'init' | 'play' | 'pause' | 'end' export type VoiceInfo = Pick -export interface SpeechSynthesisOptions extends ConfigurableWindow { +export interface UseSpeechSynthesisOptions extends ConfigurableWindow { /** * Language for SpeechSynthesis * @@ -48,7 +48,7 @@ export interface SpeechSynthesisOptions extends ConfigurableWindow { * @see https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis SpeechSynthesis * @param options */ -export function useSpeechSynthesis(text: MaybeComputedRef, options: SpeechSynthesisOptions = {}) { +export function useSpeechSynthesis(text: MaybeComputedRef, options: UseSpeechSynthesisOptions = {}) { const { pitch = 1, rate = 1,