Skip to content

Commit

Permalink
Update janus.d.ts (#2215)
Browse files Browse the repository at this point in the history
Missing return types for `attachMediaStream` and `reattachMediaStream`
  • Loading branch information
Glandos committed Jun 9, 2020
1 parent 5eb1d91 commit 90b9907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm/janus.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ declare namespace JanusJS {
static warn(...args: any[]): void;
static error(...args: any[]): void;
static randomString(length: number): string;
static attachMediaStream(element: HTMLMediaElement, stream: MediaStream);
static reattachMediaStream(to: HTMLMediaElement, from: HTMLMediaElement);
static attachMediaStream(element: HTMLMediaElement, stream: MediaStream): void;
static reattachMediaStream(to: HTMLMediaElement, from: HTMLMediaElement): void;

constructor(options: ConstructorOptions);

Expand Down

0 comments on commit 90b9907

Please sign in to comment.