Repository navigation
Make dom-mediacapture-record work on TS 4.4's DOM - #54096
Conversation
TS 4.4 changes mediacapture-record types. This PR makes it match those upcoming types. Needed after microsoft/TypeScript#44684 is merged.
|
@sandersn Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 54096,
"author": "sandersn",
"headCommitOid": "8c2db45c40a509cb863aef731882fc2a5a7e115b",
"lastPushDate": "2021-06-25T19:08:24.000Z",
"lastActivityDate": "2021-06-28T17:57:12.000Z",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "dom-mediacapture-record",
"kind": "edit",
"files": [
{
"path": "types/dom-mediacapture-record/dom-mediacapture-record-tests.ts",
"kind": "test"
},
{
"path": "types/dom-mediacapture-record/index.d.ts",
"kind": "definition"
}
],
"owners": [
"elsmr",
"AppLover69"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [],
"mainBotCommentID": 868776388,
"ciResult": "fail",
"ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/8c2db45c40a509cb863aef731882fc2a5a7e115b/checks?check_suite_id=3088697205"
} |
|
🔔 @elsmr @AppLover69 — please review this PR in the next few days. Be sure to explicitly select |
|
@sandersn The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
|
I just published |
|
This PR removes the type |
|
Ran into same error over |
|
@boris-petrov you should only update to the latest if you have TS 4.4, which is still a day from shipping its beta. In this case, I get can the package to work for all versions of TS by inlining the RecordingState type so that it works with older versions as well. I did that here: #54152 |
TS 4.4 changes mediacapture-record types. This PR makes it match those
upcoming types.
Needed after microsoft/TypeScript#44684 is merged.