Skip to content

Commit

Permalink
doc: fix typo in code example (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen authored May 14, 2021
1 parent da3bd57 commit 78a6570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/async_worker_variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const exampleCallback = (errorResponse, okResponse, progressData) => {
// ...
};
// Call our native addon with the paramters of a string and a function
// Call our native addon with the parameters of a string and a function
nativeAddon.echo("example", exampleCallback);
```

Expand Down Expand Up @@ -550,7 +550,7 @@ const onProgressCallback = (num) => {
// ...
};
// Call our native addon with the paramters of a string and three callback functions
// Call our native addon with the parameters of a string and three callback functions
nativeAddon.echo("example", onErrorCallback, onOkCallback, onProgressCallback);
```

Expand Down

0 comments on commit 78a6570

Please sign in to comment.