Skip to content

Commit 2674300

Browse files
authored
Merge pull request #365 from kubk/add-filterVoices
Add filterVoices method to index.d.ts
2 parents 070bc47 + 4dd0a4b commit 2674300

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,11 @@ export default class EasySpeech {
9191
public static pause(): void;
9292

9393
public static reset(): void;
94+
95+
public static filterVoices(options: {
96+
name?: string;
97+
language?: string;
98+
localService?: boolean;
99+
voiceURI?: string;
100+
}): SpeechSynthesisVoice[];
94101
}

0 commit comments

Comments
 (0)