Skip to content

Commit

Permalink
Fix wasm-module-builder.js (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudmichaud authored Oct 9, 2024
1 parent 29b1fd4 commit 61e34cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js-api/wasm-module-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ class WasmModuleBuilder {
}
let type_index = (typeof type) == "number" ? type : this.addType(type);
this.imports.push({module: module, name: name, kind: kExternalFunction,
type: type_index});
type_index: type_index});
return this.num_imported_funcs++;
}

Expand Down

0 comments on commit 61e34cc

Please sign in to comment.