Skip to content

Commit

Permalink
Remove unused greet argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephrocca authored Feb 23, 2024
1 parent 2b67622 commit 4da7e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
1. `cd hello-wasm`
1. Run `wasm-pack build --target web`.
1. This tool generates files in a `pkg` dir
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet("WebAssembly")`
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet()`
1. To publish to npm, run `wasm-pack publish`. You may need to login to the
registry you want to publish to. You can login using `wasm-pack login`.

Expand Down

0 comments on commit 4da7e4a

Please sign in to comment.