Skip to content

Commit

Permalink
fix typings for MediaPlayer.on() method (Dash-Industry-Forum#4058)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert authored and eastkiki committed Oct 4, 2022
1 parent f7e0338 commit b44f877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ declare namespace dashjs {

on(type: AdaptationSetRemovedNoCapabilitiesEvent['type'], listener: (e: AdaptationSetRemovedNoCapabilitiesEvent) => void, scope?: object): void;

on(type: string, listener: (e: Event) => void, scope?: object): void;
on(type: string, listener: (e: Event) => void, scope?: object, options?:object): void;


off(type: string, listener: (e: any) => void, scope?: object): void;
Expand Down

0 comments on commit b44f877

Please sign in to comment.