Skip to content

Commit

Permalink
Fix wrong Typescript definition of updateSource (#4223)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy authored Jul 12, 2023
1 parent 56b33ca commit 520cfe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,6 @@ declare namespace dashjs {
addHttpRequest(request: HTTPRequest, responseURL: string, responseStatus: number, responseHeaders: object, traces: object): void;

addManifestUpdateRepresentationInfo(representation: Representation, mediaType: MediaType): void;

updateSource(urlOrManifest: string | object): void;

getCurrentLiveLatency(): number;

Expand Down Expand Up @@ -1306,6 +1304,8 @@ declare namespace dashjs {

getSource(): string | object;

updateSource(urlOrManifest: string | object): void;

getCurrentLiveLatency(): number;

getTopBitrateInfoFor(type: MediaType): BitrateInfo;
Expand Down

0 comments on commit 520cfe5

Please sign in to comment.