Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Aug 23, 2019
1 parent 2143983 commit 6b2b9e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function playDecoded(audioContext, audioBuffer, source) {
});
}

export default class extends EventTarget {
class SpeechSynthesisUtterance extends EventTarget {
constructor(text) {
super();

Expand Down Expand Up @@ -137,3 +137,5 @@ defineEventAttribute(SpeechSynthesisUtterance.prototype, 'mark');
defineEventAttribute(SpeechSynthesisUtterance.prototype, 'pause');
defineEventAttribute(SpeechSynthesisUtterance.prototype, 'resume');
defineEventAttribute(SpeechSynthesisUtterance.prototype, 'start');

export default SpeechSynthesisUtterance

0 comments on commit 6b2b9e3

Please sign in to comment.