Skip to content

Commit

Permalink
fix typings for MediaPlayer.on() method (#4058)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert authored Sep 30, 2022
1 parent 3f7de0f commit f1eb4f1
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 f1eb4f1

Please sign in to comment.