Currently, working with Angular 12 but encountering an issue with the following code snippet.
this.recorder.ondataavailable = (event: { data: any; }) => {
this.recordedChunks.push(event.data);
};
Here is the error thrown by Typescript:
Argument of type 'any' is not assignable to parameter of type 'never'.ts(2345)
(parameter) event: {
data: any;
}