Allow arbitrary properties in Match interface

This commit is contained in:
bytedream 2025-04-17 02:10:18 +02:00
parent 6dff691c25
commit 59f2ffec57

View File

@ -15,6 +15,9 @@ export interface Match {
): Promise< ): Promise<
string | { [MatchMediaType.Hls]: string } | { [MatchMediaType.Native]: string } | null string | { [MatchMediaType.Hls]: string } | { [MatchMediaType.Native]: string } | null
>; >;
// allow other properties that may be implemented by the objects that use this interface declaration
[other: string]: unknown;
} }
export enum MatchMediaType { export enum MatchMediaType {