tsbase
Version:
Base class libraries for TypeScript
7 lines (6 loc) • 351 B
TypeScript
import { ISpeechSynthesizer } from './ISpeechSynthesizer';
export declare class SpeechSynthesizer implements ISpeechSynthesizer {
private ss;
constructor(ss?: SpeechSynthesis);
Speak(phrase: string | SpeechSynthesisUtterance, voice?: SpeechSynthesisVoice, utteranceFactory?: (phrase: string) => SpeechSynthesisUtterance): Promise<void>;
}