We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d334a4 commit 5fdd1d6Copy full SHA for 5fdd1d6
lib/loader/index.d.ts
@@ -5,9 +5,10 @@ export interface ResultObject {
5
instance: WebAssembly.Instance;
6
}
7
8
-/** WebAssembly imports with two levels of nesting. */
+
9
+/** WebAssembly imports with an optional env object and two levels of nesting. */
10
export type Imports = {
- [key: string]: object,
11
+ [key: string]: any;
12
env?: {
13
memory?: WebAssembly.Memory;
14
table?: WebAssembly.Table;
0 commit comments