Skip to content

Commit 61e34cc

Browse files
Fix wasm-module-builder.js (#1831)
1 parent 29b1fd4 commit 61e34cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/js-api/wasm-module-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ class WasmModuleBuilder {
966966
}
967967
let type_index = (typeof type) == "number" ? type : this.addType(type);
968968
this.imports.push({module: module, name: name, kind: kExternalFunction,
969-
type: type_index});
969+
type_index: type_index});
970970
return this.num_imported_funcs++;
971971
}
972972

0 commit comments

Comments
 (0)