@types/audioworklet 0.0.25 → 0.0.26
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 +6 -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.26 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.26.
|
package/index.d.ts
CHANGED
|
@@ -185,6 +185,7 @@ interface AbortSignal extends EventTarget {
|
|
|
185
185
|
readonly aborted: boolean;
|
|
186
186
|
onabort: ((this: AbortSignal, ev: Event) => any) | null;
|
|
187
187
|
readonly reason: any;
|
|
188
|
+
throwIfAborted(): void;
|
|
188
189
|
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
189
190
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
190
191
|
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -218,6 +219,10 @@ declare var AudioWorkletProcessor: {
|
|
|
218
219
|
new(): AudioWorkletProcessor;
|
|
219
220
|
};
|
|
220
221
|
|
|
222
|
+
interface AudioWorkletProcessorImpl extends AudioWorkletProcessor {
|
|
223
|
+
process(inputs: Float32Array[][], outputs: Float32Array[][], parameters: Record<string, Float32Array>): boolean;
|
|
224
|
+
}
|
|
225
|
+
|
|
221
226
|
/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */
|
|
222
227
|
interface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {
|
|
223
228
|
readonly highWaterMark: number;
|
|
@@ -892,7 +897,7 @@ declare namespace WebAssembly {
|
|
|
892
897
|
}
|
|
893
898
|
|
|
894
899
|
interface AudioWorkletProcessorConstructor {
|
|
895
|
-
(options: any):
|
|
900
|
+
new (options: any): AudioWorkletProcessorImpl;
|
|
896
901
|
}
|
|
897
902
|
|
|
898
903
|
interface PerformanceObserverCallback {
|