Skip to content

Commit 7fa8bef

Browse files
committed
types: Fix types and ignore errors
1 parent 5a42545 commit 7fa8bef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/MediaInfo.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,9 @@ MediaInfo.create = function(id,type,supported)
519519
if (!supported && Array.isArray(type))
520520
{
521521
//Reallocate params
522-
// @ts-ignore
522+
// @ts-expect-error
523523
supported = type;
524-
// @ts-ignore
524+
// @ts-expect-error
525525
type = id;
526526
}
527527

lib/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export interface SDPInfoParams {
3737
candidates?: CandidateInfoLike[];
3838
/** Capabilities for each media type */
3939
capabilities?: Capabilities;
40-
/** Crypto info objet*/
40+
/** Crypto info object*/
4141
crypto?: CryptoInfoLike;
4242
/** Generate unified like media ids*/
43-
unified: boolean
43+
unified?: boolean
4444
}
4545

4646
export interface RTCPFeedbackInfoPlain {

0 commit comments

Comments
 (0)