mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-17 17:48:06 +00:00
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:
committed by
GitHub
parent
5a7c2181af
commit
88b8382261
2
types/dom-mediacapture-transform/index.d.ts
vendored
2
types/dom-mediacapture-transform/index.d.ts
vendored
@@ -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+.
|
||||
|
||||
2
types/dom-webcodecs/index.d.ts
vendored
2
types/dom-webcodecs/index.d.ts
vendored
@@ -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
|
||||
|
||||
2
types/dom-webcodecs/webcodecs.generated.d.ts
vendored
2
types/dom-webcodecs/webcodecs.generated.d.ts
vendored
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user