MediaTrackConstraintsSet misses torch #39010
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
PursuitFellowship
Help wanted from Pursuit fellowship; others please avoid until Dec 19
Milestone
I'd like to use the torch constraint but typescript complains as its missing in the defined set.
I understand the advanced field is controversial and might even be removed, but yet I think it is a bad idea if typescript disallows using the features when they are implemented...
TypeScript Version: 3.8.3
also master: https://github.com/microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L770
Code
Expected behavior:
not to be restricted in functionality when using typescript
Actual behavior:
I can't use this feature.. I have to switch to JS
Playground Link: Playground Link
The text was updated successfully, but these errors were encountered: