From 59f2ffec57f904f0f6a68a3dfa3ed357b481a95b Mon Sep 17 00:00:00 2001 From: bytedream Date: Thu, 17 Apr 2025 02:10:18 +0200 Subject: [PATCH] Allow arbitrary properties in Match interface --- src/lib/match.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/match.ts b/src/lib/match.ts index a21333c..1ab2696 100644 --- a/src/lib/match.ts +++ b/src/lib/match.ts @@ -15,6 +15,9 @@ export interface Match { ): Promise< 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 {