From 58b182238b0f5e226d14772e065d00778d6792f7 Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Thu, 2 May 2024 16:32:53 +0200 Subject: [PATCH] Compat: Update HTMLMediaElement.prototype.preload type --- src/compat/browser_compatibility_types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat/browser_compatibility_types.ts b/src/compat/browser_compatibility_types.ts index 3e92e2c277..e5d3c5ea59 100644 --- a/src/compat/browser_compatibility_types.ts +++ b/src/compat/browser_compatibility_types.ts @@ -242,7 +242,7 @@ export interface IMediaElement extends IEventTarget { nodeName: string; paused: boolean; playbackRate: number; - preload: string; + preload: "none" | "metadata" | "auto" | ""; readyState: number; seekable: TimeRanges; seeking: boolean;