@types/audioworklet 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.48 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.48.
|
package/index.d.ts
CHANGED
|
@@ -860,7 +860,7 @@ interface TextDecoder extends TextDecoderCommon {
|
|
|
860
860
|
*
|
|
861
861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)
|
|
862
862
|
*/
|
|
863
|
-
decode(input?:
|
|
863
|
+
decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string;
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
declare var TextDecoder: {
|
|
@@ -1013,6 +1013,8 @@ interface URL {
|
|
|
1013
1013
|
declare var URL: {
|
|
1014
1014
|
prototype: URL;
|
|
1015
1015
|
new(url: string | URL, base?: string | URL): URL;
|
|
1016
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
1017
|
+
canParse(url: string | URL, base?: string): boolean;
|
|
1016
1018
|
};
|
|
1017
1019
|
|
|
1018
1020
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
|
|
@@ -1399,6 +1401,7 @@ declare var currentTime: number;
|
|
|
1399
1401
|
declare var sampleRate: number;
|
|
1400
1402
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope/registerProcessor) */
|
|
1401
1403
|
declare function registerProcessor(name: string, processorCtor: AudioWorkletProcessorConstructor): void;
|
|
1404
|
+
type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
|
|
1402
1405
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
1403
1406
|
type DOMHighResTimeStamp = number;
|
|
1404
1407
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|