@types/audioworklet 0.0.19 → 0.0.23
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 +2 -1
- package/index.d.ts +10 -6
- package/{index.iterable.d.ts → iterable.d.ts} +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ To use `@types/audioworklet` you need to do two things:
|
|
|
18
18
|
|
|
19
19
|
That's all.
|
|
20
20
|
|
|
21
|
+
If you'd like to ensure that the DOM types are never accidentally included, you can use [@orta/types-noop](https://www.npmjs.com/package/@orta/type-noops) in TypeScript 4.5+.
|
|
21
22
|
|
|
22
23
|
## SemVer
|
|
23
24
|
|
|
@@ -27,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
27
28
|
|
|
28
29
|
## Deploy Metadata
|
|
29
30
|
|
|
30
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.23 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.23.
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./
|
|
1
|
+
/// <reference path="./iterable.d.ts" />
|
|
2
2
|
|
|
3
3
|
/////////////////////////////
|
|
4
4
|
/// AudioWorklet APIs
|
|
@@ -85,7 +85,7 @@ interface StreamPipeOptions {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
interface StructuredSerializeOptions {
|
|
88
|
-
transfer?:
|
|
88
|
+
transfer?: Transferable[];
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
interface Transformer<I = any, O = any> {
|
|
@@ -359,6 +359,7 @@ declare var TransformStreamDefaultController: {
|
|
|
359
359
|
new(): TransformStreamDefaultController;
|
|
360
360
|
};
|
|
361
361
|
|
|
362
|
+
/** Available only in secure contexts. */
|
|
362
363
|
interface WorkletGlobalScope {
|
|
363
364
|
}
|
|
364
365
|
|
|
@@ -437,7 +438,8 @@ declare namespace WebAssembly {
|
|
|
437
438
|
|
|
438
439
|
var CompileError: {
|
|
439
440
|
prototype: CompileError;
|
|
440
|
-
new(): CompileError;
|
|
441
|
+
new(message?: string): CompileError;
|
|
442
|
+
(message?: string): CompileError;
|
|
441
443
|
};
|
|
442
444
|
|
|
443
445
|
interface Global {
|
|
@@ -464,7 +466,8 @@ declare namespace WebAssembly {
|
|
|
464
466
|
|
|
465
467
|
var LinkError: {
|
|
466
468
|
prototype: LinkError;
|
|
467
|
-
new(): LinkError;
|
|
469
|
+
new(message?: string): LinkError;
|
|
470
|
+
(message?: string): LinkError;
|
|
468
471
|
};
|
|
469
472
|
|
|
470
473
|
interface Memory {
|
|
@@ -493,7 +496,8 @@ declare namespace WebAssembly {
|
|
|
493
496
|
|
|
494
497
|
var RuntimeError: {
|
|
495
498
|
prototype: RuntimeError;
|
|
496
|
-
new(): RuntimeError;
|
|
499
|
+
new(message?: string): RuntimeError;
|
|
500
|
+
(message?: string): RuntimeError;
|
|
497
501
|
};
|
|
498
502
|
|
|
499
503
|
interface Table {
|
|
@@ -543,7 +547,7 @@ declare namespace WebAssembly {
|
|
|
543
547
|
|
|
544
548
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
545
549
|
type TableKind = "anyfunc" | "externref";
|
|
546
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
550
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
547
551
|
type ExportValue = Function | Global | Memory | Table;
|
|
548
552
|
type Exports = Record<string, ExportValue>;
|
|
549
553
|
type ImportValue = ExportValue | number;
|
|
File without changes
|