Skip to content

Commit 5fdd1d6

Browse files
authored
Fix loader imports definition (#1269)
1 parent 2d334a4 commit 5fdd1d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/loader/index.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ export interface ResultObject {
55
instance: WebAssembly.Instance;
66
}
77

8-
/** WebAssembly imports with two levels of nesting. */
8+
9+
/** WebAssembly imports with an optional env object and two levels of nesting. */
910
export type Imports = {
10-
[key: string]: object,
11+
[key: string]: any;
1112
env?: {
1213
memory?: WebAssembly.Memory;
1314
table?: WebAssembly.Table;

0 commit comments

Comments
 (0)