mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-11-04 15:22:08 +01:00
Allow arbitrary properties in Match interface
This commit is contained in:
1 parent
6dff691c25
commit
59f2ffec57
1 file changed
+3
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user