Add ESLint and lint a bunch

This commit is contained in:
Vanilagy
2024-12-01 17:33:54 +01:00
parent 3ae891842f
commit 6730e41c07
25 changed files with 3668 additions and 1584 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ export declare type AudioTrackMetadata = {};
/** @public */
export declare class CanvasSource extends VideoSource {
constructor(canvas: HTMLCanvasElement, codecConfig: VideoCodecConfig);
constructor(canvas: HTMLCanvasElement | OffscreenCanvas, codecConfig: VideoCodecConfig);
digest(timestamp: number, duration?: number): Promise<void>;
}
@@ -189,7 +189,7 @@ export declare class WebMOutputFormat extends MkvOutputFormat {
}
/** @public */
export declare type WebmOutputFormatOptions = MkvOutputFormatOptions;
export declare type WebMOutputFormatOptions = MkvOutputFormatOptions;
export { }