Skip to content

Commit f6f48a0

Browse files
committed
Fix MediaTrackConstraintSet echoCancellation typo
echoCancelation → echoCancellation When Edge fixes its typo, this should be reverted. Fixes microsoft#251.
1 parent 59f63d0 commit f6f48a0

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

baselines/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
296296
}
297297

298298
interface MediaTrackConstraintSet {
299+
echoCancellation?: boolean | ConstrainBooleanParameters;
299300
aspectRatio?: number | ConstrainDoubleRange;
300301
deviceId?: string | string[] | ConstrainDOMStringParameters;
301-
echoCancelation?: boolean | ConstrainBooleanParameters;
302302
facingMode?: string | string[] | ConstrainDOMStringParameters;
303303
frameRate?: number | ConstrainDoubleRange;
304304
groupId?: string | string[] | ConstrainDOMStringParameters;

inputfiles/addedTypes.json

+6
Original file line numberDiff line numberDiff line change
@@ -1764,5 +1764,11 @@
17641764
"constructorSignatures": ["new(): HTMLSummaryElement"],
17651765
"extends": "HTMLElement",
17661766
"flavor": "DOM"
1767+
},
1768+
{
1769+
"kind": "property",
1770+
"interface": "MediaTrackConstraintSet",
1771+
"name": "echoCancellation?",
1772+
"type": "boolean | ConstrainBooleanParameters"
17671773
}
17681774
]

inputfiles/removedTypes.json

+5
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,10 @@
7777
{
7878
"kind": "typedef",
7979
"name": "JSON"
80+
},
81+
{
82+
"kind": "property",
83+
"interface": "MediaTrackConstraintSet",
84+
"name": "echoCancelation"
8085
}
8186
]

0 commit comments

Comments
 (0)