Remove several @ts-ignores
This commit is contained in:
parent
e0bd9f6958
commit
770c80b9ee
7 changed files with 11 additions and 36 deletions
|
@ -69,8 +69,9 @@ export class RecorderClass {
|
|||
|
||||
try {
|
||||
const stream = await navigator.mediaDevices.getUserMedia({
|
||||
// @ts-expect-error Typescript doesn't know about these important options
|
||||
audio: { mandatory: { googAutoGainControl: false } },
|
||||
// TypeScript doesn't know about these options.
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
audio: { mandatory: { googAutoGainControl: false } } as any,
|
||||
});
|
||||
if (!this.context || !this.input) {
|
||||
const err = new Error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue