Update dom-webcodecs for TS 5.2 (#65879)

AllowSharedBufferSource is now part of the DOM, so can't be declared in
dom-webcodecs.
This commit is contained in:
Nathan Shively-Sanders
2023-06-26 10:32:13 -07:00
committed by GitHub
parent 5a7c2181af
commit 88b8382261
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
// Project: https://w3c.github.io/mediacapture-transform/
// Definitions by: Ben Wagner <https://github.com/dogben>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 5.1
// Minimum TypeScript Version: 5.2
// In general, these types are only available behind a command line flag or an origin trial in
// Chrome 90+.

View File

@@ -2,7 +2,7 @@
// Project: https://w3c.github.io/webcodecs/
// Definitions by: Ben Wagner <https://github.com/dogben>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 5.1
// Minimum TypeScript Version: 5.2
// Versioning:
// Until the WebCodecs spec is finalized, the major version number is 0. I have chosen to use minor

View File

@@ -400,7 +400,7 @@ interface WebCodecsErrorCallback {
(error: DOMException): void;
}
type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
// type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
// type BitrateMode = "constant" | "variable";
type ImageBufferSource = ArrayBuffer | ArrayBufferView | ReadableStream;
// type AlphaOption = "discard" | "keep";