Skip to content

Commit d300354

Browse files
committed
Fixed readme
1 parent 4600339 commit d300354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ async function main() {
2222

2323
await module.declareFunction("printHello", (args) => {
2424
console.log("Hello");
25-
Value::Null
25+
return {};
2626
});
2727

28-
await module.call_function("module2.printHelloWorld");
28+
await module.callFunction("module2.printHelloWorld");
2929
}
3030

3131
main()

0 commit comments

Comments
 (0)