UNPKG

discussion

Version:

Basic implementating to help altering between ongoing SpeechRecognition and intermittant SpeechSynthesis

12 lines (11 loc) 381 B
export declare function compareTwoStrings(first: string, second: string): number; export declare function findBestMatch(mainString: string, targetStrings: string[]): BestMatchResult; export declare class BestMatchResult { ratings: Rating[]; bestMatch: Rating; bestMatchIndex: number; } export declare class Rating { target: string; rating: number; }