Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
reset() {
this.store.dispatch(
new UpdateForm({
path: 'chatbox.voiceForm',
value: {
voice: this.voices[48],
volume: 1,
rate: 1,
pitch: 1,
},
dirty: false,
status: 'VALID',
errors: {},
}),
);
}
}