Remove several @ts-ignores

This commit is contained in:
Evan Hahn 2021-12-16 19:14:21 -06:00 committed by GitHub
parent e0bd9f6958
commit 770c80b9ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 36 deletions

View file

@ -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(