Skip to content

Commit

Permalink
Merge pull request #125 from OnurVar/master
Browse files Browse the repository at this point in the history
Fix TypeScript optional parameter on RtcEngine's options
  • Loading branch information
Matrixbirds authored Jan 31, 2020
2 parents ec0bc83 + ab11859 commit 65d006f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export interface Option {
appid: String;
channelProfile: number;
videoEncoderConfig: VideoEncoderConfig;
dualStream: boolean;
mode: number;
dualStream?: boolean;
mode?: number;
clientRole: number;
audioProfile: number;
audioScenario: number;
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export interface Option {
appid: String,
channelProfile: number,
videoEncoderConfig: VideoEncoderConfig,
dualStream: boolean,
mode: number,
dualStream?: boolean,
mode?: number,
clientRole: number,
audioProfile: number,
audioScenario: number,
Expand Down

0 comments on commit 65d006f

Please sign in to comment.